OSDN Git Service

DR 1359
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Jan 2012 17:53:28 +0000 (17:53 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Jan 2012 17:53:28 +0000 (17:53 +0000)
commit2425eec7ae5138de9082cee7aafd81478109cf2f
tree2c8e3f5c52a1207402ee89b81e619127e92c0ab3
parentce24dc8dafc732632bc6c321a839cb03d7cf72d5
DR 1359
PR c++/51675
* method.c (walk_field_subobs): Don't check for uninitialized
fields in a union.
(synthesized_method_walk): Check here.

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