* dwarf2out.c (gen_type_die): Don't recurse if TYPE_NAME doesn't
actually declare this type.
* decl.c (grokdeclarator): Revert last change.
From-SVN: r53084
+2002-05-02 Jason Merrill <jason@redhat.com>
+
+ * dwarf2out.c (gen_type_die): Don't recurse if TYPE_NAME doesn't
+ actually declare this type.
+
2002-05-02 Loren J. Rittle <ljrittle@acm.org>
* doc/install.texi (*-*-freebsd*): Update to latest status.
+2002-05-03 Jason Merrill <jason@redhat.com>
+
+ * decl.c (grokdeclarator): Revert last change.
+
2002-05-02 Mark Mitchell <mark@codesourcery.com>
* init.c (perform_base_cleanups): Correct order of base class
&& TYPE_NAME (type)
&& TREE_CODE (TYPE_NAME (type)) == TYPE_DECL
&& TYPE_ANONYMOUS_P (type)
- /* Don't do this if there are attributes. */
- && (!attrlist || !*attrlist)
&& cp_type_quals (type) == TYPE_UNQUALIFIED)
{
tree oldname = TYPE_NAME (type);
return;
if (TYPE_NAME (type) && TREE_CODE (TYPE_NAME (type)) == TYPE_DECL
+ && TREE_TYPE (TYPE_NAME (type)) == type
&& DECL_ORIGINAL_TYPE (TYPE_NAME (type)))
{
TREE_ASM_WRITTEN (type) = 1;