[Bug target/37584] -ftree-ch causes stack corruption on mingw32
dannysmith at users dot sourceforge dot net
gcc-bugzilla@gcc.gnu.org
Mon Sep 22 03:24:00 GMT 2008
------- 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|0000-00-00 00:00:00 |2008-09-22 03:23:45
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37584
More information about the Gcc-bugs
mailing list