Internal compiler error in force_store_init_value, at cp/typeck2.c:443

Leif Lonnblad Leif.Lonnblad@thep.lu.se
Thu Aug 8 03:33:00 GMT 2002


Hi there,

I found a bug when upgrading to the newest gcc version (3.1.1). It is
inside a fairly complex template machinery, so it was difficult for me
to reduce it to a simple program. It compiles OK with version 3.1. I
have attached the bzip2 compressed preprocessed file (sorry if it's a bit
large) and below you will find the output of the compilation session.

Cheers,
Leif

-- 
-----------------------------------------------------------
Leif Lönnblad, Department of Theoretical Physics
Sölvegatan 14A, S-223 62 Lund, Sweden
phone: +46-46 2227780,  fax: +46-46 2229686
e-mail: <Leif.Lonnblad@cern.ch>, <Leif.Lonnblad@thep.lu.se>
http://www.thep.lu.se/~leif



beckett> g++ -V 3.1 -c -ansi -pedantic -Wall -fpic -g -O  -I../../   EventGenerator.cc
beckett> g++ -v -save-temps -c -ansi -pedantic -Wall -fpic -g -O  -I../../   EventGenerator.cc
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/specs
Configured with: /home/beckett/leif/scratch/beckett/gcc-3.1.1/configure --prefix=/usr/local
Thread model: single
gcc version 3.1.1
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/cpp0 -lang-c++ -D__GNUG__=3 -D__DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -D__STRICT_ANSI__ -trigraphs -$ -v -I../../ -D__GNUC__=3 -D__GNUC_MINOR__=1 -D__GNUC_PATCHLEVEL__=1 -D__ELF__ -D__unix__ -D__gnu_linux__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -D_GNU_SOURCE -Acpu=i386 -Amachine=i386 -D__i386 -D__i386__ -D__tune_i686__ -D__tune_pentiumpro__ -D__PIC__ -D__pic__ EventGenerator.cc -Wall -pedantic EventGenerator.ii
GNU CPP version 3.1.1 (cpplib) (i386 Linux/ELF)
ignoring nonexistent directory "/usr/local/i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 ../..
 /usr/local/include/c++/3.1.1
 /usr/local/include/c++/3.1.1/i686-pc-linux-gnu
 /usr/local/include/c++/3.1.1/backward
 /usr/local/include
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/include
 /usr/include
End of search list.
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/cc1plus -fpreprocessed EventGenerator.ii -trigraphs -$ -quiet -dumpbase EventGenerator.cc -ansi -g -O -Wall -pedantic -ansi -version -fpic -o EventGenerator.s
GNU CPP version 3.1.1 (cpplib) (i386 Linux/ELF)
GNU C++ version 3.1.1 (i686-pc-linux-gnu)
	compiled by GNU C version 3.1.1.
EventGenerator.cc: In static member function `static void 
   Pythia7::EventGenerator::Init()':
EventGenerator.cc:468: Internal compiler error in force_store_init_value, at 
   cp/typeck2.c:443
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: EventGenerator.ii.bz2
Type: application/x-bzip2
Size: 161747 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20020808/6d3037e5/attachment.bz2>


More information about the Gcc-bugs mailing list