[Bug c++/55287] GCC crashes and asks to file bug report

2012-11-13 Thread gordoncichon at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55287



--- Comment #4 from Gordon Cichon gordoncichon at gmail dot com 2012-11-13 
08:33:01 UTC ---

Why is GCC comsuming so much memory?



The program has 6.4MB source code, it is a single function. All optimizations

are turned off. And there is 2GB memory in the system.



Well, shouldn't it be possible to compile this program?


[Bug c++/55287] New: GCC crashes and asks to file bug report

2012-11-12 Thread gordoncichon at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55287



 Bug #: 55287

   Summary: GCC crashes and asks to file bug report

Classification: Unclassified

   Product: gcc

   Version: 4.4.5

Status: UNCONFIRMED

  Severity: normal

  Priority: P3

 Component: c++

AssignedTo: unassig...@gcc.gnu.org

ReportedBy: gordoncic...@gmail.com





This is a compiler bug that occurs on Debian squeeze..



uname -a 

Linux caraway 2.6.32-5-686 #1 SMP Sun Sep 23 09:49:36 UTC 2012 i686 GNU/Linux

gcc -v

Using built-in specs.

Target: i486-linux-gnu

Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-8'

--with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs

--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr

--program-suffix=-4.4 --enable-shared --enable-multiarch

--enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib

--without-included-gettext --enable-threads=posix

--with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls

--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc

--enable-targets=all --with-arch-32=i586 --with-tune=generic

--enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu

--target=i486-linux-gnu

Thread model: posix

gcc version 4.4.5 (Debian 4.4.5-8) 

g++ -save-temps   -c -o gcc-bug.o gcc-bug.cc

g++: Internal error: Killed (program cc1plus)

Please submit a full bug report.

See file:///usr/share/doc/gcc-4.4/README.Bugs for instructions.