[Bug c++/58161] internal compiler error while compiling SemaDeclCXX.cpp

2013-08-14 Thread SebastiansPublicAddress at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58161

--- Comment #1 from SebastiansPublicAddress at googlemail dot com ---
Created attachment 30658
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30658&action=edit
preprocessed file compressed because of file size limit


[Bug c++/58161] internal compiler error while compiling SemaDeclCXX.cpp

2013-08-14 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58161

Andrew Pinski  changed:

   What|Removed |Added

   Severity|blocker |normal

--- Comment #2 from Andrew Pinski  ---
(In reply to SebastiansPublicAddress from comment #0)
> I'm compiling on a raspberry pi (no cross compiling), so this may be caused
> by insufficient memory. But gcc doesn't say so. It just says
> 
> g++-4.7: internal compiler error: Killed (program cc1plus)

That is because the kernel is killing cc1plus when it runs out of memory when a
mmap/malloc happens.  There is not much GCC can do when the kernel decides to
over commit memory to the application and then decides to kill it due to lack
of memory.


[Bug c++/58161] internal compiler error while compiling SemaDeclCXX.cpp

2013-08-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58161

Paolo Carlini  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #3 from Paolo Carlini  ---
Closing.