[Bug tree-optimization/58006] [4.8/4.9 Regression] ICE compiling VegaStrike with -ffast-math -ftree-parallelize-loops=2

2013-08-12 Thread vincent.legoll at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58006

vincent.legoll at gmail dot com changed:

   What|Removed |Added

 CC||vincent.legoll at gmail dot com

--- Comment #7 from vincent.legoll at gmail dot com ---
Hello, I got the same under Debian Jessie

$ gcc-4.8 -v
Using built-in specs.
COLLECT_GCC=gcc-4.8
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.8.1-2'
--with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.8 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin
--with-system-zlib --disable-browser-plugin --enable-java-awt=gtk
--enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre
--enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64
--with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.1 (Debian 4.8.1-2)


[Bug c++/58406] New: ICE when compiling Vegastrike svn trunk

2013-09-12 Thread vincent.legoll at gmail dot com
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  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

[Bug c++/58406] ICE when compiling Vegastrike svn trunk

2013-09-12 Thread vincent.legoll at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58406

--- Comment #5 from vincent.legoll at gmail dot com ---
I'll see if I can get a debian package for a more up to date gcc-4.8


[Bug c++/58406] ICE when compiling Vegastrike svn trunk

2013-09-12 Thread vincent.legoll at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58406

--- Comment #3 from vincent.legoll at gmail dot com ---
No, sorry for the uninformative comment

The source code modifications I spoke about are to vegastrike source code and
cmake build chain, but I have a hard time finding the root cause...

the gcc-4.8 I use is the one from debian jessie/sid.


[Bug c++/58406] ICE when compiling Vegastrike svn trunk

2013-09-12 Thread vincent.legoll at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58406

--- Comment #1 from vincent.legoll at gmail dot com ---
This was with modifications I made to the codebase, I'll investigate what the
culprit is...


[Bug c++/58406] ICE when compiling Vegastrike svn trunk

2013-09-12 Thread vincent.legoll at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58406

--- Comment #6 from vincent.legoll at gmail dot com ---
OK with the gcc-4.8 from debian unstable the preprocessed output does compile
whereas with the one from testing it does not.

I'll try to reproduce the bug within the vegastrike build chain next and then
make sure the new compiler works.


[Bug c++/58406] ICE when compiling Vegastrike svn trunk

2013-09-12 Thread vincent.legoll at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58406

--- Comment #7 from vincent.legoll at gmail dot com ---
Grrr, I cannot reproduce the original bug, something must have changed during
my attempts at "fixing" the problem...

Sorry for the noise.
I'll come back here if I ever met that problem again.

You may close the bug as fixed or not reproduced.


[Bug c++/58406] ICE when compiling Vegastrike svn trunk

2013-09-16 Thread vincent.legoll at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58406

--- Comment #9 from vincent.legoll at gmail dot com ---
OK I reproduced it again, and it is a duplicatre from
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58006

I verified that by just recompilking the offending file without the
-ftree-parallelize-loops=2 and it worked fine