[Bug c++/67054] Constructor inheritance with non-default constructible members
aldyh at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 13 15:48:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67054
--- Comment #7 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
Author: aldyh
Date: Wed Sep 13 15:47:25 2017
New Revision: 252096
URL: https://gcc.gnu.org/viewcvs?rev=252096&root=gcc&view=rev
Log:
PR c++/67054 - Inherited ctor with non-default-constructible members
* method.c (walk_field_subobs) Consider member initializers (NSDMIs)
when deducing an inheriting constructor.
Added:
branches/range-gen2/gcc/testsuite/g++.dg/cpp0x/inh-ctor29.C
Modified:
branches/range-gen2/gcc/cp/ChangeLog
branches/range-gen2/gcc/cp/method.c
More information about the Gcc-bugs
mailing list