aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/decl.c
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@integrable-solutions.net>2003-09-30 11:56:25 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2003-09-30 11:56:25 +0000
commitdaafa301e4b0c0528558092b711e26d93223d2c0 (patch)
tree9daa86d6c77617d4dff5b975fe554e2b7aba9a12 /gcc/cp/decl.c
parent5fb1287933b10ce520a01e281854f4f8822af43a (diff)
downloadgcc-daafa301e4b0c0528558092b711e26d93223d2c0.zip
gcc-daafa301e4b0c0528558092b711e26d93223d2c0.tar.gz
gcc-daafa301e4b0c0528558092b711e26d93223d2c0.tar.bz2
decl.c (pop_binding): Don't mess with nullifying binding->scope here.
* decl.c (pop_binding): Don't mess with nullifying binding->scope here. * name-lookup.c: Re-format. (cxx_binding_free): Nullify binding->scope. From-SVN: r71942
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r--gcc/cp/decl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index d60bcb4..17c36b1 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -1030,9 +1030,6 @@ pop_binding (tree id, tree decl)
/* Add it to the free list. */
cxx_binding_free (binding);
-
- /* Clear the SCOPE so the garbage collector doesn't walk it. */
- binding->scope = NULL;
}
}