This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54986] New: Internal Error: segmentation fault
- From: "vanicat at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 19 Oct 2012 11:50:40 +0000
- Subject: [Bug c++/54986] New: Internal Error: segmentation fault
- Auto-submitted: auto-generated
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
$