decl2.c (build_anon_union_vars): Copy attributes from the base addr.
commit56b4ea3de8efa797ff0edf9504704803d2ae4981
authorRichard Henderson <rth@redhat.com>
Mon, 12 Sep 2005 04:04:03 +0000 (11 21:04 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 12 Sep 2005 04:04:03 +0000 (11 21:04 -0700)
tree64e5cc4d84872a31748d1d4ba6500f40fa9fbad3
parentf489aff87aa4c15ffe681cfcaede591c533b331e
decl2.c (build_anon_union_vars): Copy attributes from the base addr.

        * 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.

From-SVN: r104160
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/error8.C