public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/37008]  New: Crash bug on a big c++ file
@ 2008-08-02  7:27 livubuntu at lalescu dot ro
  2008-08-02  7:31 ` [Bug c++/37008] " livubuntu at lalescu dot ro
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: livubuntu at lalescu dot ro @ 2008-08-02  7:27 UTC (permalink / raw)
  To: gcc-bugs

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:

goghi@liviu-desktop:~/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:

goghi@liviu-desktop:~/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
goghi@liviu-desktop:~/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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-03-31 15:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-02  7:27 [Bug c++/37008] New: Crash bug on a big c++ file livubuntu at lalescu dot ro
2008-08-02  7:31 ` [Bug c++/37008] " livubuntu at lalescu dot ro
2008-08-02 11:48 ` rguenth at gcc dot gnu dot org
2008-08-02 11:49 ` rguenth at gcc dot gnu dot org
2008-08-02 11:50 ` [Bug c++/37008] [4.2 Regression] OOM " rguenth at gcc dot gnu dot org
2008-08-02 12:22 ` livubuntu at lalescu dot ro
2008-08-03  7:24 ` livubuntu at lalescu dot ro
2009-03-31 15:47 ` jsm28 at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).