#1019 Interal compiler error when compiling Qt4 application

closed-fixed
Danny Smith
gcc (462)
2007-03-25
2007-03-24
Andreas Nicolai
No

MinGW-GCC candidate, gcc -v:
Reading specs from c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/specs
Configured with: ../gcc-3.4.5/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry --disable-shared --enable-sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-synchronization --enable-libstdcxx-debug
Thread model: win32
gcc version 3.4.5 (mingw special)

Same problem exists with gcc 3.4.2 and 3.4.4

Error message was:

qmakemodel\qmakeproject.cpp:623: internal compiler error: in rest_of_handle_final, at toplev.c:2067

Compile command was:

g++ -c -O2 -O2 -frtti -fexceptions -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -D_EDYUK_ -D_QMDI_ -D__QMDI__ -D_QCUMBER_ -D_QCODE_EDIT_ -D_QCODE_MODEL_ -D_QPROJECT_MODEL_ -D_QSAFE_SHARED_SETTINGS_ -D_QCODE_EDIT_ -D_QMAKE_MODEL_BUILD_ -DQT_DLL -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WIDGETS -DQT_THREAD_SUPPORT -I"C:/Qt/4.2.2/include/QtUiTools" -I"C:/Qt/4.2.2/include/QtDesigner" -I"C:/Qt/4.2.2/include/QtCore" -I"C:/Qt/4.2.2/include/QtCore" -I"C:/Qt/4.2.2/include/QtGui" -I"C:/Qt/4.2.2/include/QtGui" -I"C:/Qt/4.2.2/include/QtXml" -I"C:/Qt/4.2.2/include/QtXml" -I"C:/Qt/4.2.2/include" -I"." -I"..\..\sdk" -I"..\lib" -I"..\lib\gui" -I"..\lib\util" -I"..\lib\plugin" -I"..\lib\settings" -I"..\lib\workspace" -I"..\lib\compiler" -I"..\..\3rdparty\qmdi" -I"..\..\3rdparty\qcumber" -I"..\..\3rdparty\qcodeedit" -I"..\..\3rdparty\qcodeedit\lib" -I"..\..\3rdparty\qcodeedit\lib\language" -I"..\..\3rdparty\qcodeedit\lib\editor" -I"..\..\3rdparty\qcodeedit\lib\util" -I"..\..\3rdparty\qhierarchicalmodel" -I"..\..\3rdparty\qcodemodel" -I"..\..\3rdparty\qprojectmodel" -I"designer" -I"qmakemodel" -I"C:/Qt/4.2.2/include/ActiveQt" -I"..\tmp\moc" -I"..\tmp\ui" -I"c:\Qt\4.2.2\mkspecs\default" -o ..\tmp\obj\default\release\qmakeproject.o qmakemodel\qmakeproject.cpp

Preprocessed source is attached.

Discussion

  • Preprocessed file that causes the compiler error

     
    Attachments
  • Danny Smith
    Danny Smith
    2007-03-25

    • milestone: --> IINR_-_Include_In_Next_Release
    • status: open --> closed-fixed
     
  • Danny Smith
    Danny Smith
    2007-03-25

    Logged In: YES
    user_id=11494
    Originator: NO

    This is
    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23589
    which is fixed in gcc 4.1.x and newer.

    It won't be fixed in 3.4.5.

    Danny