[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#317455: g++-4.0: ICE: in cp_expr_size, at cp/cp-objcp-common.c:101



Package: g++-4.0
Version: 4.0
Severity: normal

Om m68k the packages packagesearch_1.3 and qdbm_1.8.30-2 fail to build with the following ICE.
According to this, qdbm fails on arm and hppa with the same ICE:
http://ukai.org/b/log/debian/qdbm/1.8.30-2_failed_to_be_built_on_arm_and_hppa.html

g++ -c -pipe -Wall -W -O2 -D_REENTRANT  -D__USE_KDE_LIBS -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/tagcoll-1.0 -I/usr/include/kde -I/usr/include/qt3 -I.ui/ -I. -I.moc/ -o .obj/packagenameplugin.o packagenameplugin.cpp
./ixmlstorable.h:86: warning: 'class NXml::IXmlStorable' has virtual functions but non-virtual destructor
packagenameplugin.h:48: warning: unused parameter 'pProvider'
packagenameplugin.h:50: warning: unused parameter 'enabled'
packagenameplugin.h:52: warning: unused parameter 'visible'
packagenameplugin.cpp: In member function 'QString NPlugin::PackageNamePlugin::_ZTv0_n104_NK7NPlugin17PackageNamePlugin4nameEv() const':
packagenameplugin.cpp:47: internal compiler error: in cp_expr_size, at cp/cp-objcp-common.c:101
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
make[2]: *** [.obj/packagenameplugin.o] Error 1

The preprocessess source and other files from m68k are available here:
http://people.debian.org/~cts/gcc-4.0/

It also fails to compile with -O0 instead of -O2.

BTW the file compiles fine with GNU C++ version 3.3.6 (Debian 1:3.3.6-7), so this is a regression.

Christian



Reply to: