http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54986
Bug #: 54986 Summary: Internal Error: segmentation fault Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: vani...@debian.org When compiling giac, I've an Internal error: Segmentation fault with gcc-4.7 and -O2. Using some newer version of some library solved this, but I believe a SEGV in gcc is alway a bug. Compiling without -O2 is successful. The error: $ g++-4.7 -O2 -c foo-4.7.cc prog.cc: In function ‘bool giac::is_return(const giac::gen&, giac::gen&)’: prog.cc:8046:1: internal compiler error: Erreur de segmentation Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions. Preprocessed source stored into /tmp/cc4J9upy.out file, please attach this to your bugreport. $ g++-4.7 -c foo-4.7.cc $