[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#158371: g++-3.0: internal compiler error in expand_end_loop with -O



Package: g++-3.0
Version: 1:3.0.4-12
Severity: important


I get:

  Internal compiler error in expand_end_loop, at stmt.c:2527

when compiling a class from our code.  I don't see anything
particularly wrong about the code, but it is part of a large code base
so I can't easily extract a simple example.  I post the command, its
output, the .s and .ii files at (193k):

  http://minos.phy.bnl.gov/~bviren/debian/g++-3.0-bug.tgz

I'll keep it there at least until this is closed.

Unpacking and running:

  g++-3.0 -O -g  -c CandTrack.ii -o junk.o

should reproduce the error.  Leave off the "-O", and it compiles.

The code will successfully compile with GCC 3.2.


-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux minos 2.4.17 #2 SMP Wed Feb 6 12:49:11 EST 2002 i686
Locale: LANG=C, LC_CTYPE=

Versions of packages g++-3.0 depends on:
ii  gcc-3.0                       1:3.0.4-12 The GNU C compiler.
ii  gcc-3.0-base                  1:3.0.4-12 The GNU Compiler Collection (base 
ii  libc6                         2.2.5-13   GNU C Library: Shared libraries an
ii  libstdc++3-dev                1:3.0.4-12 The GNU stdc++ library version 3 (




Reply to: