[Bug c++/54986] New: Internal Error: segmentation fault
vanicat at debian dot org
gcc-bugzilla@gcc.gnu.org
Fri Oct 19 11:51:00 GMT 2012
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: unassigned@gcc.gnu.org
ReportedBy: vanicat@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
$
More information about the Gcc-bugs
mailing list