* tree.c (build_cplus_array_type_1): Also check index_type for
template parms.
From-SVN: r20164
+1998-06-01 Jason Merrill <jason@yorick.cygnus.com>
+
+ * tree.c (build_cplus_array_type_1): Also check index_type for
+ template parms.
+
1998-05-31 Jason Merrill <jason@yorick.cygnus.com>
* pt.c (tsubst): Always copy BINFO_BASETYPES.
saveable_obstack = &permanent_obstack;
}
- if (processing_template_decl)
+ if (processing_template_decl
+ || uses_template_parms (index_type))
{
t = make_node (ARRAY_TYPE);
TREE_TYPE (t) = elt_type;