[Bug c++/69131] [4.9/5 Regression] default constructor of union incorrectly deleted
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 27 19:19:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69131
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jan 27 19:18:28 2016
New Revision: 232895
URL: https://gcc.gnu.org/viewcvs?rev=232895&root=gcc&view=rev
Log:
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.
Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/union7.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/method.c
More information about the Gcc-bugs
mailing list