re PR c++/69131 (default constructor of union incorrectly deleted)
authorJason Merrill <jason@redhat.com>
Mon, 11 Jan 2016 20:53:07 +0000 (15:53 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 11 Jan 2016 20:53:07 +0000 (15:53 -0500)
commit9fc2197747b75ea4d90ad69ab9794313a9f258f6
tree761057e8cb9666290507e39f8b94d3fda855b559
parent23552a4d50980a96bd4f48f93b3ae31b5015af34
re PR c++/69131 (default constructor of union incorrectly deleted)

PR c++/69131
* method.c (walk_field_subobs): Add dtor_from_ctor parm.
(process_subob_fn): Likewise.  Don't consider triviality if true.
(synthesize_method_walk): Pass it.

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