[Bug target/37584] -ftree-ch causes stack corruption on mingw32

2008-10-07 Thread sherpya at netfarm dot it


--- Comment #5 from sherpya at netfarm dot it  2008-10-07 12:48 ---


*** This bug has been marked as a duplicate of 37750 ***


-- 

sherpya at netfarm dot it changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37584



[Bug target/37584] -ftree-ch causes stack corruption on mingw32

2008-09-22 Thread sherpya at netfarm dot it


--- Comment #4 from sherpya at netfarm dot it  2008-09-22 09:51 ---
I've also seen crashes in alloca(), at least according to gdb backtrace


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37584



[Bug target/37584] -ftree-ch causes stack corruption on mingw32

2008-09-21 Thread dannysmith at users dot sourceforge dot net


--- Comment #3 from dannysmith at users dot sourceforge dot net  2008-09-22 
03:23 ---
I have run into what I believe is the same bug in build of of cc1plus.exe, with
miscompilation of cp/pt.c
When exercising cp/pt.c:process_partial_specialization (eg, when compiling
libstdc++'s mt_allocator.cc) I get a segfault in cygwin.asm (used in w32
implementation  of __builtin_alloca)  
Adding -fno-tree-ch to CFLAGS for pt.c fixes build of libstdc++ and testsuite
results  

I will try to reduce a testcase when time permits.
Danny


-- 

dannysmith at users dot sourceforge dot net changed:

   What|Removed |Added

 CC||dannysmith at users dot
   ||sourceforge dot net
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2008-09-22 03:23:45
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37584



[Bug target/37584] -ftree-ch causes stack corruption on mingw32

2008-09-20 Thread sherpya at netfarm dot it


--- Comment #2 from sherpya at netfarm dot it  2008-09-20 09:43 ---
adding -fno-tree-ch avoid crashing in mencoder, so I filled the bug on this,
but it can be a side effect of something else


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37584



[Bug target/37584] -ftree-ch causes stack corruption on mingw32

2008-09-19 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2008-09-19 21:03 ---
We really need a testcase.  And I really doubt -ftree-ch is causing any issues,
there must be a latent bug in the back-end.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Severity|major   |normal
  Component|tree-optimization   |target


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37584