Commit b32369e6 by Jason Merrill Committed by Jason Merrill

* decl.c (xref_tag): Don't SET_IDENTIFIER_NAMESPACE_VALUE.

From-SVN: r32015
parent 7a15eef5
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.
......
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment