compiler crash in make_implicit_typename()
scott snyder
snyder@d0sgif.fnal.gov
Sat Mar 21 14:42:00 GMT 1998
hi -
For egcs 2.91.14, checked out on the afternoon of Mar. 20, on a
mips-sgi-irix6.2 platform, the following input crashes the compiler:
-- bug30.cc -------------------
template <class Key>
struct d0om_Hashmap
{
typedef int value_type;
struct iterator
{
typedef typename d0om_Hashmap<Key>::value_type value_type;
};
};
-------------------------------
% cc1plus bug30.cc
bug30.cc:9: Internal compiler error.
bug30.cc:9: Please submit a full bug report to `egcs-bugs@cygnus.com'.
Program received signal SIGSEGV, Segmentation fault.
make_implicit_typename (context=0x1030c0d8, t=0x1030bff0)
at ../../../../egcs/gcc/cp/decl.c:4603
4603 int n_baselinks = TREE_VEC_LENGTH (binfos);
(gdb) p binfos
$1 = (union tree_node *) 0x0
thanks,
sss
More information about the Gcc-bugs
mailing list