This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
egcs 2.91.42: Internal compiler error 980521
- To: egcs-bugss <egcs-bugs at cygnus dot com>
- Subject: egcs 2.91.42: Internal compiler error 980521
- From: Joseph Heled <pepe at iconz dot co dot nz>
- Date: Wed, 24 Jun 1998 22:36:44 +1200
uname -a: SunOS zeal 5.5 Generic sun4u sparc SUNW,Ultra-1
***** Program source:
class String {
public:
String(const String& x);
String(const char* t);
operator const char*() const;
};
#include <map>
class X {};
static map<String, X>
y;
int main(void)
{
y["a"];
}
***** Compilation:
Reading specs from
/home/joseph/egcs-1/lib/gcc-lib/sparc-sun-solaris2.5/egcs-2.91.42/specs
gcc version egcs-2.91.42 19980621 (gcc2 ss-980502 experimental)
/home/josepgmake[1]: Leaving directory `/export/home/joseph/egbugs'
p -lang-c++ -v -I/usr/local/Gcc/g++-include/sun4.SVR4/2.8.0 -undef -D__GNUC__=2
-D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=91 -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 -W -D__GCC_NEW_VARARGS__
-Acpu(sparc) -Amachine(sparc) b26.cc /var/tmp/cca002_p.ii
GNU CPP version egcs-2.91.42 19980621 (gcc2 ss-980502 experimental) (sparc)
#include "..." search starts here:
#include <...> search starts here:
/usr/local/Gcc/g++-include/sun4.SVR4/2.8.0
/home/joseph/egcs-1/include/g++
/usr/local/include
/home/joseph/egcs-1/sparc-sun-solaris2.5/include
/home/joseph/egcs-1/lib/gcc-lib/sparc-sun-solaris2.5/egcs-2.91.42/include
/usr/include
End of search list.
/home/joseph/egcs-1/lib/gcc-lib/sparc-sun-solaris2.5/egcs-2.91.42/cc1plus
/var/tmp/cca002_p.ii -quiet -dumpbase b26.cc -W -version -o /var/tmp/cca002_p.s
GNU C++ version egcs-2.91.42 19980621 (gcc2 ss-980502 experimental)
(sparc-sun-solaris2.5) compiled by GNU C version egcs-2.90.27 980315 (egcs-1.0.2
release).
/usr/local/Gcc/g++-include/sun4.SVR4/2.8.0/stl_pair.h: In method `pair<const
String,X>::pair<const String, X>(const class String &, const class X &)':
/usr/local/Gcc/g++-include/sun4.SVR4/2.8.0/stl_map.h:132: instantiated from
`map<String,X,less<String>,__default_alloc_template<false,0> >::operator
[]<String, X, less<String>, alloc>(const String &)'
b26.cc:19: instantiated from here
/usr/local/Gcc/g++-include/sun4.SVR4/2.8.0/stl_pair.h:44: warning: statement
with no effect
/usr/local/Gcc/g++-include/sun4.SVR4/2.8.0/stl_construct.h: In method
`pair<const String,X>::pair(const struct pair<const String,X> &)':
/usr/local/Gcc/g++-include/sun4.SVR4/2.8.0/stl_construct.h:45: Internal compiler
error 980521.
/usr/local/Gcc/g++-include/sun4.SVR4/2.8.0/stl_construct.h:45: Please submit a
full bug report to `egcs-bugs@cygnus.com'.
gmake[1]: *** [b26] Error 1