Public bug reported:

When compiling the code attached (Note: it has a Qt dependency)  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 gives
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

** Affects: gcc-4.6 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/877431

Title:
  ICE on compare of this pointer with reference and throw

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/877431/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to