This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/67054] Constructor inheritance with non-default constructible members
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 09 Aug 2017 20:18:19 +0000
- Subject: [Bug c++/67054] Constructor inheritance with non-default constructible members
- Auto-submitted: auto-generated
- References: <bug-67054-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67054
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Aug 9 20:17:47 2017
New Revision: 251000
URL: https://gcc.gnu.org/viewcvs?rev=251000&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/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/inh-ctor29.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/method.c