compiler crash in make_implicit_typename()

scott snyder
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:

-- -------------------

template <class Key>
struct d0om_Hashmap
  typedef int value_type;

  struct iterator
    typedef typename d0om_Hashmap<Key>::value_type value_type;


% cc1plus Internal compiler error. Please submit a full bug report to `'.

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


More information about the Gcc-bugs mailing list