This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/37584] -ftree-ch causes stack corruption on mingw32
- From: "dannysmith at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Sep 2008 03:23:45 -0000
- Subject: [Bug target/37584] -ftree-ch causes stack corruption on mingw32
- References: <bug-37584-10752@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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