This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/15828] New: g++ crash on input file


Running g++ on the attached preprocessed C++ source file causes g++ to crash with an

g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

We compiled our own gcc 3.3.2.

Reading specs from /usr/misc/pkg/gcc-3.3.2/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/specs
Configured with: ../gcc-3.3.2/configure --prefix=/usr/misc/pkg/gcc-3.3.2
--enable-shared --with-
gnu-as --with-as=/usr/misc/bin/as --with-gnu-ld --with-ld=/usr/misc/bin/ld
--enable-threads --
enable-languages=c,c++
Thread model: posix
gcc version 3.3.2

Running on Linux acacia.CS.Berkeley.EDU 2.4.22-1.2115.nptl #1 Wed Oct 29
15:42:51 EST 2003 i686
i686 i386 GNU/Linux. Fedora distribution 9.

Command line used to invoke compiler:

/usr/misc/pkg/gcc-3.3.2/bin/g++ -c -fPIC -O3  -Wchar-subscripts -Wcomment
-Wformat -Wimplicit
-Wmultichar -Wparentheses -Wreturn-type -Wswitch -Wtrigraphs -W -Wpointer-arith
-Wwrite-strings
-Wconversion -Wsign-compare -Wdeprecated -Woverloaded-virtual -o c.def.o
c.def.breaks.ii

--------

c.def.breaks.ii is c.def.works.ii + one class declaration at the end of the
file. The class has nothing special in it, but indicates there's probably some
sort of overflow problem that is crashing g++.

-- 
           Summary: g++ crash on input file
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: maratb at cs dot berkeley dot edu
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]