Mainline GCC gets a seg fault building SPEC CPU2000 test vpr on powerpc64-linux with "-m64 -O3" starting with this patch from rakdver on 20050517: http://gcc.gnu.org/ml/gcc-cvs/2005-05/msg00814.html The seg fault is in fold_binary at fold_const.c:8971. I'll attach a minimized test case.
-- Summary: segfault in fold_binary compiling vpr with -O3 Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: janis at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org,rakdver at gcc dot gnu dot org GCC build triplet: powerpc64-linux GCC host triplet: powerpc64-linux GCC target triplet: powerpc64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21846