aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/decl.c8
2 files changed, 4 insertions, 8 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 29492ae..4802c50 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2000-02-15 Jason Merrill <jason@casey.cygnus.com>
+
+ * decl.c (xref_tag): Don't SET_IDENTIFIER_NAMESPACE_VALUE.
+
2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Make-lang.in (g++spec.o): Depend on $(GCC_H), not gcc.h.
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 0389234..5a98bcb 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -12351,14 +12351,6 @@ xref_tag (code_type_node, name, globalize)
}
else
{
- /* If it no longer looks like a nested type, make sure it's
- in global scope.
- If it is not an IDENTIFIER, this is not a declaration */
- if (b->namespace_p && !class_binding_level
- && TREE_CODE (name) == IDENTIFIER_NODE
- && IDENTIFIER_NAMESPACE_VALUE (name) == NULL_TREE)
- SET_IDENTIFIER_NAMESPACE_VALUE (name, TYPE_NAME (ref));
-
if (!globalize && processing_template_decl && IS_AGGR_TYPE (ref))
redeclare_class_template (ref, current_template_parms);
}