* decl.c (lang_mark_tree): Mark NAMESPACE_LEVEL.
* pt.c (tsubst, case INTEGER_TYPE): Be more explicit in zero-size
array error.
From-SVN: r29954
+1999-10-13 Jason Merrill <jason@yorick.cygnus.com>
+
+ * decl.c (lang_mark_tree): Mark NAMESPACE_LEVEL.
+
+ * pt.c (tsubst, case INTEGER_TYPE): Be more explicit in zero-size
+ array error.
+
1999-10-13 Mark Mitchell <mark@codesourcery.com>
* decl.c (make_rtl_for_local_static): Don't create register RTL
ggc_mark_tree (ld->decl_flags.context);
if (TREE_CODE (t) != NAMESPACE_DECL)
ggc_mark_tree (ld->decl_flags.u.template_info);
+ else
+ mark_binding_level (&NAMESPACE_LEVEL (t));
if (CAN_HAVE_FULL_LANG_DECL_P (t))
{
ggc_mark_tree (ld->main_decl_variant);
Attempting to create an array with a size that is
zero or negative. */
if (complain)
- cp_error ("creating array with size `%E'", max);
+ cp_error ("creating array with size zero (`%E')", max);
return error_mark_node;
}