This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33540] New: internal compiler error
- From: "ebuddington at wesleyan dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Sep 2007 00:43:02 -0000
- Subject: [Bug c++/33540] New: internal compiler error
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The error-producing command line is
g++ -Wall -O3 -march=native -c videospeed.cc
videospeed.cc: In function 'int main(int, char**)':
videospeed.cc:275: internal compiler error: in expand_simple_binop, at
optabs.c:1158
Adding -save-temps gives a new warning "SSE instruction set disabled, using 387
arithmetics", and the compile succeeds. Also, changing to -march=i386 or
-march=i686 avoids the problem.
I will attach the g++ -E output, which does trigger the error.
--
Summary: internal compiler error
Product: gcc
Version: 4.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ebuddington at wesleyan dot edu
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33540