Using GCC 4.1.2 and compiling with -static -O2, the SPEC CPU2000 benchmark vortex segfaults on my system (Fedora Core 4, Intel Pentium 4).
This issue was reported before (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23449), and seem to be resolved in GCC 4.1.1. Using -fno-strict-aliasing solves this, but I wonder why -fno-strict-aliasing was not required with GCC 4.1.1, but is crucial (again) in GCC 4.1.2. Any further details will be provided as needed. -- Summary: segfault for SPEC CPU2000 vortex with -O2 Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kenneth dot hoste at elis dot ugent dot be GCC target triplet: x86/linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31024