When compiling the code attached (Note: it has a Qt dependency (sorry) ) the compiler crashes with the following output:
$ make
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o test2.o test2.cpp
test2.cpp:19:5: warning: unused parameter ‘argc’ [-Wunused-parameter]
test2.cpp:19:5: warning: unused parameter ‘arcv’ [-Wunused-parameter]
test2.cpp: In constructor ‘CompareThisRefICE::CompareThisRefICE()’:
test2.cpp:9:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccjiYBA.out file, please attach this to your bugreport.
make: *** [test2.o] Error 1
Was reproduced with Qt 4.5.2 and Qt 4.7.4 on gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
I recently upgraded to Ubuntu 11.10.
uname -a
Linux djh-emssnew 3.0.0-12-generic-pae #20-Ubuntu SMP Fri Oct 7 16:37:17 UTC 2011 i686 i686 i386 GNU/Linux
Created attachment 25624
Program that causes ICE
When compiling the code attached (Note: it has a Qt dependency (sorry) ) the compiler crashes with the following output: share/qt4/ mkspecs/ linux-g+ + -I. -I/usr/ include/ qt4/QtCore -I/usr/ include/ qt4/QtGui -I/usr/include/qt4 -I. -I. -o test2.o test2.cpp parameter] parameter] ICE::CompareThi sRefICE( )’: //usr/share/ doc/gcc- 4.6/README. Bugs> for instructions.
$ make
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/
test2.cpp:19:5: warning: unused parameter ‘argc’ [-Wunused-
test2.cpp:19:5: warning: unused parameter ‘arcv’ [-Wunused-
test2.cpp: In constructor ‘CompareThisRef
test2.cpp:9:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
Preprocessed source stored into /tmp/ccjiYBA.out file, please attach this to your bugreport.
make: *** [test2.o] Error 1
Was reproduced with Qt 4.5.2 and Qt 4.7.4 on gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
I recently upgraded to Ubuntu 11.10.
uname -a generic- pae #20-Ubuntu SMP Fri Oct 7 16:37:17 UTC 2011 i686 i686 i386 GNU/Linux
Linux djh-emssnew 3.0.0-12-
gcc -v LTO_WRAPPER= /usr/lib/ gcc/i686- linux-gnu/ 4.6.1/lto- wrapper pkgversion= 'Ubuntu/ Linaro 4.6.1-9ubuntu3' --with- bugurl= file:// /usr/share/ doc/gcc- 4.6/README. Bugs --enable- languages= c,c++,fortran, objc,obj- c++,go --prefix=/usr --program- suffix= -4.6 --enable-shared --enable- linker- build-id --with-system-zlib --libexecdir= /usr/lib --without- included- gettext --enable- threads= posix --with- gxx-include- dir=/usr/ include/ c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable- clocale= gnu --enable- libstdcxx- debug --enable- libstdcxx- time=yes --enable-plugin --enable-objc-gc --enable- targets= all --disable-werror --with-arch-32=i686 --with-tune=generic --enable- checking= release --build= i686-linux- gnu --host= i686-linux- gnu --target= i686-linux- gnu
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-
Thread model: posix
gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
I have logged it with Ubuntu first (https:/ /bugs.launchpad .net/ubuntu/ +source/ gcc-4.6/ +bug/877431) but no activity for more than a week.