[Bug c++/54024] New: Internal compiler error

2012-07-18 Thread ian.e.mackenzie at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54024

 Bug #: 54024
   Summary: Internal compiler error
Classification: Unclassified
   Product: gcc
   Version: 4.7.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: ian.e.macken...@gmail.com


I received an internal compiler error trying to compile the attached
(preprocessed) code using GCC 4.7.1 on Arch Linux (64 bit). The command line
used was

c++ -DOpenSolidPythonModule_EXPORTS -DHAVE_PTHREAD -D_USE_MATH_DEFINES
-DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQT_NO_DEBUG
-std=c++11 -pthread -Wall -Wno-unused-variable -Wno-enum-compare -fPIC -O2 -g
-DNDEBUG -fPIC -o preprocessed.o -c preprocessed.cpp

which results in

c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.

gcc -v gives:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/src/gcc-4.7.1/configure --prefix=/usr --libdir=/usr/lib
--libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=https://bugs.archlinux.org/
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared
--enable-threads=posix --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch
--enable-libstdcxx-time --enable-gnu-unique-object --enable-linker-build-id
--with-ppl --enable-cloog-backend=isl --disable-ppl-version-check
--disable-cloog-version-check --enable-lto --enable-gold --enable-ld=default
--enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu
--disable-multilib --disable-libssp --disable-build-with-cxx
--disable-build-poststage1-with-cxx --enable-checking=release
Thread model: posix
gcc version 4.7.1 (GCC)


[Bug c++/54024] Internal compiler error

2012-07-18 Thread ian.e.mackenzie at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54024

--- Comment #1 from Ian Mackenzie  2012-07-19 
00:06:04 UTC ---
Created attachment 27828
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27828
Preprocessed source file

The preprocessed source file itself is too big (5 MB), so had to be zipped.


[Bug c++/54024] Internal compiler error

2012-07-19 Thread ian.e.mackenzie at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54024

Ian Mackenzie  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||INVALID

--- Comment #3 from Ian Mackenzie  2012-07-19 
11:39:49 UTC ---
Ah, that is possible - I can see how the file in question would be one of the
heaviest in my project. Thanks for the quick reply! I've marked the bug as
RESOLVED/INVALID, although a slightly more descriptive error message than
'internal compiler error' might be handy...