[Bug target/55491] Segmentation fault
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55491 Kai Tietz ktietz at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |WORKSFORME --- Comment #8 from Kai Tietz ktietz at gcc dot gnu.org --- hmm, can't reproduce this for i686-w64-mingw32 for gcc 4.7, or gcc 4.8 series. I was using here cygwin-cross, and native compiler. So I assume it might be related to the release of this compiler. So I close this bug as not reproduce-able for me.
[Bug target/55491] Segmentation fault
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55491 --- Comment #7 from tom.day at amlin dot co.uk 2012-11-28 10:29:51 UTC --- Sorry Mikael, I'm with you now. I also don't get this error message when targeting i686-w64-mingw32 when hosted on i686-linux-gnu.
[Bug target/55491] Segmentation fault
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55491 --- Comment #1 from Jonathan Wakely redi at gcc dot gnu.org 2012-11-27 16:13:51 UTC --- The Obfuscated C Contest is this way: http://www.ioccc.org/ Why should anyone bother trying to work out what that does? At least fix the warnings and see if the error goes away.
[Bug target/55491] Segmentation fault
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55491 --- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org 2012-11-27 16:15:22 UTC --- Oh sorry I missed it causes an ICE, I thought the segfault was from the program - apologies.
[Bug target/55491] Segmentation fault
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55491 Kai Tietz ktietz at gcc dot gnu.org changed: What|Removed |Added CC||ktietz at gcc dot gnu.org Known to work||4.8.0 --- Comment #3 from Kai Tietz ktietz at gcc dot gnu.org 2012-11-27 16:22:23 UTC --- On 4.8.x testcase doesn't ICE.
[Bug target/55491] Segmentation fault
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55491 Mikael Pettersson mikpe at it dot uu.se changed: What|Removed |Added CC||mikpe at it dot uu.se --- Comment #4 from Mikael Pettersson mikpe at it dot uu.se 2012-11-27 17:38:01 UTC --- I can't get it to ICE gcc-4.7.2 targeting x86_64-w64-mingw32 w/ -m32 -mrtd, whether hosted on x86_64-linux or on i686-pc-cygwin.
[Bug target/55491] Segmentation fault
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55491 --- Comment #5 from tom.day at amlin dot co.uk 2012-11-27 18:20:09 UTC --- Thanks for comments and sorry if original post was at all unclear. The error I got was from gcc hosted on mingw32 and, as per Mikael's comment, I noticed that omitting the -O2 option made it run correctly.
[Bug target/55491] Segmentation fault
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55491 --- Comment #6 from Mikael Pettersson mikpe at it dot uu.se 2012-11-27 19:09:34 UTC --- Actually my tests were with -O2 -m32 -mrtd; I only mentioned the -m32 -mrtd part because the 64-bit target ignores -mrtd, one has to explicitly select the 32-bit target for -mrtd to have any effect.