My open source application FET compiles OK with g++ 4.1.3. But with 4.2.3 it crashes on a bigger file named rules.cpp. My FET program is available at http://lalescu.ro/liviu/fet/
I have 1 GB of RAM, AMD dual core 4000+ The g++ version: [EMAIL PROTECTED]:~/t/fet-5.6.1$ gcc -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7) The command and output error: [EMAIL PROTECTED]:~/t/fet-5.6.1$ make cd src/ && make -f Makefile make[1]: Entering directory `/home/goghi/t/fet/src' cd interface/ && make -f Makefile make[2]: Entering directory `/home/goghi/t/fet/src/interface' g++ -save-temps -c -pipe -fpermissive -O2 -D_REENTRANT -Wall -W -DQT_SHARED -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I../engine -I../../tmp -I../../tmp -o ../../tmp/rules.o ../engine/rules.cpp g++: warning: -pipe ignored because -save-temps specified g++: Internal error: Killed (program cc1plus) Please submit a full bug report. 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.2/README.Bugs>. make[2]: *** [../../tmp/rules.o] Error 1 make[2]: Leaving directory `/home/goghi/t/fet/src/interface' make[1]: *** [sub-interface-make_default] Error 2 make[1]: Leaving directory `/home/goghi/t/fet/src' make: *** [sub-src-make_default] Error 2 [EMAIL PROTECTED]:~/t/fet-5.6.1$ I'll attach also the .ii file. -- Summary: Crash bug on a big c++ file Product: gcc Version: 4.2.3 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: livubuntu at lalescu dot ro http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37008