PR c++/54922
commitd74097de77c9d19b3cd0cf6762d704c41ce9acee
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Feb 2013 01:27:47 +0000 (15 01:27 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Feb 2013 01:27:47 +0000 (15 01:27 +0000)
treeefb25f5a1b2be2eb69f70d34b12439f42f8aeecb
parent849a14b7eefc2e242f27587588f65d430f7e6cf0
PR c++/54922
* semantics.c (build_anon_member_initialization): New.
(build_data_member_initialization): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196070 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/g++.dg/cpp0x/constexpr-union4.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/constexpr-union5.C [new file with mode: 0644]