When compiling a program to find the inode of files, I compiled it with "gcc inode.c -O3 -fssa -o inode-opt -Wall -v -gstabs+ -save-temps". I ran the generated program with proper syntax and it segfaulted during execution. This is the GDB output:
Program recived signal SIGSEGV, Segmentation fault main (argc=-17487624, argv=0xb85ad4) at inode.c:10 10 if (argc != 2) Turning off -O3 or -fssa made it work. Apparently it's the interoperability of the two. The preprocessed file is much too long to show here. -- Summary: Segmentation fault with -O3 -fssa Product: gcc Version: 3.3.3 Status: UNCONFIRMED Severity: normal Priority: P2 Component: preprocessor AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sam124 at operamail dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i386-redhat-linux GCC host triplet: i386-redhat-linux GCC target triplet: i386-redhat-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18236