[Bug c++/67054] Constructor inheritance with non-default constructible members

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 26 17:40:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67054

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jul 26 17:39:26 2017
New Revision: 250583

URL: https://gcc.gnu.org/viewcvs?rev=250583&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:
    trunk/gcc/testsuite/g++.dg/cpp0x/inh-ctor29.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/method.c


More information about the Gcc-bugs mailing list