summaryrefslogtreecommitdiffstats
path: root/gcc/cp/decl.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-13 22:40:42 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-13 22:40:42 +0000
commit48d4501f29e8f2aa819a36a7f46091f91258c776 (patch)
treee2d1a0325150dbd5c85c99f796ec07f7caa27497 /gcc/cp/decl.c
parent600a719612b30d9f9e385a67dd776d551cdb6a43 (diff)
downloadppe42-gcc-48d4501f29e8f2aa819a36a7f46091f91258c776.tar.gz
ppe42-gcc-48d4501f29e8f2aa819a36a7f46091f91258c776.zip
* decl.c (lang_mark_tree): Mark NAMESPACE_LEVEL.
* pt.c (tsubst, case INTEGER_TYPE): Be more explicit in zero-size array error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29954 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r--gcc/cp/decl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index a6a203706d5..122b0251ac7 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -14353,6 +14353,8 @@ lang_mark_tree (t)
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);
OpenPOWER on IntegriCloud