diff options
author | Jason Merrill <jason@redhat.com> | 2001-04-12 20:49:43 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2001-04-12 20:49:43 -0400 |
commit | ee8fc32b175c476e21656b7a30d0768464d4cff9 (patch) | |
tree | 9c856bf58377189463c069a4824daf090ac8b39a /gcc/cp/decl2.c | |
parent | 3b7da9c5fbf3490b5a02925eebd96ddc1d394a6d (diff) | |
download | gcc-ee8fc32b175c476e21656b7a30d0768464d4cff9.zip gcc-ee8fc32b175c476e21656b7a30d0768464d4cff9.tar.gz gcc-ee8fc32b175c476e21656b7a30d0768464d4cff9.tar.bz2 |
cp-tree.h (decl_namespace_list): New macro.
* cp-tree.h (decl_namespace_list): New macro.
(struct saved_scope): Add decl_ns_list.
* decl.c (mark_saved_scope): Mark it.
* decl2.c: Lose static decl_namespace_list.
(init_decl2): Don't save it.
From-SVN: r41316
Diffstat (limited to 'gcc/cp/decl2.c')
-rw-r--r-- | gcc/cp/decl2.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index d49df73..f8524cb 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -125,11 +125,6 @@ tree static_dtors; /* The :: namespace. */ tree global_namespace; - -/* The stack for namespaces of current declarations. */ - -static tree decl_namespace_list; - /* C (and C++) language-specific option variables. */ @@ -5365,7 +5360,6 @@ handle_class_head (aggr, scope, id) void init_decl2 () { - ggc_add_tree_root (&decl_namespace_list, 1); ggc_add_tree_varray_root (&deferred_fns, 1); ggc_add_tree_varray_root (&pending_statics, 1); ggc_add_tree_varray_root (&ssdf_decls, 1); |