g++: internal compiler error 11 with <map>

Peter Schmid schmid@ltoi.iap.physik.tu-darmstadt.de
Wed Mar 25 09:58:00 GMT 1998


The following file generates an internal compiler error.
The previous egcs-snapshot 2.91.14 compiled the file without a
problem. maps and multimaps do not work with the current egcs
snapshot. 

Peter Schmid

cat tmap.C
#include<map>
main(){}

g++ -v -o tmap tmap.C 
Reading specs from
/usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.91.15/specs 
gcc version egcs-2.91.15 980321 (gcc-2.8.0 release) 
 /usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.91.15/cpp
-lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus
-D__GNUC_MINOR__=91 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__
-D__linux__ -D__unix -D__linux -Asystem(posix) -D__EXCEPTIONS -Di386
-Di586 -Asystem(unix) -Acpu(i386) -Amachine(i386) -D__i386__
-D__i586__ -Asystem(unix) -Acpu(i386) -Amachine(i386) tmap.C
/tmp/cca00162.ii 
GNU CPP version egcs-2.91.15 980321 (gcc-2.8.0 release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include/g++
 /usr/local/include
 /usr/local/i586-pc-linux-gnulibc1/include
 /usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.91.15/include
 /usr/include
End of search list.
 /usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.91.15/cc1plus
/tmp/cca00162.ii -quiet -dumpbase tmap.cc -version -o /tmp/cca00162.s 
GNU C++ version egcs-2.91.15 980321 (gcc-2.8.0 release)
(i586-pc-linux-gnulibc1) compiled by GNU C version egcs-2.91.15 980321
(gcc-2.8.0 release). 
g++: Internal compiler error: program cc1plus got fatal signal 11






More information about the Gcc-bugs mailing list