DR 1359 PR c++/51675
authorJason Merrill <jason@redhat.com>
Mon, 2 Jan 2012 17:53:28 +0000 (12:53 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 2 Jan 2012 17:53:28 +0000 (12:53 -0500)
commitab807569b6233bc5226dda1e67504d7d09114529
tree2c8e3f5c52a1207402ee89b81e619127e92c0ab3
parentd28c2dcd712c9c79f8608c136f977f5d925886ea
DR 1359 PR c++/51675

DR 1359
PR c++/51675
* method.c (walk_field_subobs): Don't check for uninitialized
fields in a union.
(synthesized_method_walk): Check here.

From-SVN: r182810
gcc/cp/ChangeLog
gcc/cp/method.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-union2.C [new file with mode: 0644]