Internal compiler error using hash_map<unsigned int, double[]>
Philipp Frauenfelder
pfrauenf@math.ethz.ch
Tue May 16 08:01:00 GMT 2000
Hi,
today I got an internal compiler error using
static hash_map<uint, real[]> xGL_H;
where uint is unsigned int and real is double in a class
declaration.
Here is the command and its output:
pfrauenf@sophokles:~/concepts-cvs/SunOS-g++> g++ -v --save-temps -Wall -DDEBUG -g -DRTTI -I/usr/local/app/tecplot/7.0/include -c ../hp/hpHP2d002.cc -o hpHP2d002.o
Reading specs from /usr/local/app/gcc/2.95.2/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/specs
gcc version 2.95.2 19991024 (release)
/usr/local/app/gcc/2.95.2/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/cpp -lang-c++ -v -I/usr/local/app/tecplot/7.0/include -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4 -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix -Asystem(unix) -Asystem(svr4) -D__EXCEPTIONS -g -Wall -D__GCC_NEW_VARARGS__ -Acpu(sparc) -Amachine(sparc) -DDEBUG -DRTTI ../hp/hpHP2d002.cc hpHP2d002.ii
GNU CPP version 2.95.2 19991024 (release) (sparc)
#include "..." search starts here:
#include <...> search starts here:
/usr/local/app/tecplot/7.0/include
/usr/local/app/gcc/2.95.2/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3
/usr/local/app/gcc/2.95.2/include
/usr/local/app/gcc/2.95.2/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../sparc-sun-solaris2.5.1/include
/usr/local/app/gcc/2.95.2/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/include
/usr/include
End of search list.
The following default directories have been omitted from the search path:
End of omitted list.
/usr/local/app/gcc/2.95.2/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/cc1plus hpHP2d002.ii -quiet -dumpbase hpHP2d002.cc -g -Wall -version -o hpHP2d002.s
GNU C++ version 2.95.2 19991024 (release) (sparc-sun-solaris2.5.1) compiled by GNU C version 2.95.2 19991024 (release).
In file included from ../hp/hpHP2d002.cc:4:
/usr/local/app/gcc/2.95.2/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/stl_hashtable.h: In instantiation of `hashtable<pair<const unsigned int,double[]>,unsigned int,hash<unsigned int>,_Select1st<pair<const unsigned int,double[]> >,equal_to<unsigned int>,allocator<double[]> >':
/usr/local/app/gcc/2.95.2/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/stl_hash_map.h:58: instantiated from `hash_map<unsigned int,double[],hash<unsigned int>,equal_to<unsigned int>,allocator<double[]> >'
../hp/hpHP2d002.h:226: instantiated from here
/usr/local/app/gcc/2.95.2/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/stl_hashtable.h:212: Internal compiler error.
/usr/local/app/gcc/2.95.2/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/stl_hashtable.h:212: Please submit a full bug report.
/usr/local/app/gcc/2.95.2/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/stl_hashtable.h:212: See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.
The file hpHP2d002.ii is in the attachment. If it helps,
I can try to get a really small example, but I'm on
vacation wendsday and thursday --- you would have to wait
until friday.
Regards,
--
Philipp | work | home
Frauenfelder | pfrauenf@math.ethz.ch | pfrauenf@debian.org
[PGP] | +41 1 632 60 38 | +41 1 862 73 14
Proudly running Debian GNU/Linux. See http://www.debian.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hpHP2d002.ii.gz
Type: application/x-gzip
Size: 52043 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000516/ba05fa29/attachment.bin>
More information about the Gcc-bugs
mailing list