* decl2.c (build_anon_union_vars): Copy attributes from the base addr.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Sep 2005 04:04:03 +0000 (04:04 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Sep 2005 04:04:03 +0000 (04:04 +0000)
commit36b92eb7529f4e5122db5fdf60828fdc019c2256
tree64e5cc4d84872a31748d1d4ba6500f40fa9fbad3
parenta1609b5f0760781ad847130112bb0f11b3ae149b
    * decl2.c (build_anon_union_vars): Copy attributes from the base addr.
        * pt.c (tsubst_decl): Substitute in DECL_VALUE_EXPR.

        * g++.dg/other/error8.C: Update expected diagnostic text.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104160 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/error8.C