re PR c++/3395 (Attribute causes type lookup to fail. Regression.)
authorJason Merrill <jason@redhat.com>
Thu, 31 Jan 2002 22:52:11 +0000 (17:52 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 31 Jan 2002 22:52:11 +0000 (17:52 -0500)
commita588fe25b7c357b4a84de452a757ab7fc5b8cb58
treeedd430ad80c9fd93378d6bfbf1d4aafb1636bf1c
parente2f2e70a9415b3af44b62aa578a5640c11b5e4dd
re PR c++/3395 (Attribute causes type lookup to fail. Regression.)

        PR c++/3395
        * decl.c (xref_tag): Remember early attributes in TYPE_ATTRIBUTES,
        not TREE_TYPE.
        * semantics.c (finish_class_definition): Adjust.

From-SVN: r49380
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/semantics.c
gcc/testsuite/g++.dg/ext/attrib2.C [new file with mode: 0644]