http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58406
Bug ID: 58406
Summary: ICE when compiling Vegastrike svn trunk
Product: gcc
Version: 4.8.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: vincent.legoll at gmail dot com
Host: debian jessie/sid x86_64
Target: x86_64-linux-gnu
Build: gcc version 4.8.1 (Debian 4.8.1-2)
Created attachment 30809
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30809&action=edit
the preprocessed output from /tmp
When compiling vegastrike (space flight simulator game) with gcc-4.8 I get the
following ICE:
[ 31%] Building CXX object
CMakeFiles/engine_com.dir/src/gfx/cockpit_generic.cpp.o
/home/vince/repo/upstream/VegaStrike/vegastrike/src/gfx/cockpit_generic.cpp: In
member function ‘bool Cockpit::Update()’:
/home/vince/repo/upstream/VegaStrike/vegastrike/src/gfx/cockpit_generic.cpp:494:6:
internal compiler error: Segmentation fault
bool Cockpit::Update()
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccmeo5U6.out file, please attach this to
your bugreport.
make[2]: *** [CMakeFiles/engine_com.dir/src/gfx/cockpit_generic.cpp.o] Error 1
make[1]: *** [CMakeFiles/engine_com.dir/all] Error 2
make: *** [all] Error 2
The same code compiles and runs properly with clang-3.4 & gcc-4.7