This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/79143] [7 Regression][new inheriting constructors] inheriting constructor fails with brace initialization


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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb  9 22:12:15 2017
New Revision: 245315

URL: https://gcc.gnu.org/viewcvs?rev=245315&root=gcc&view=rev
Log:
        PR c++/79143
        * pt.c (instantiate_class_template_1): Copy CLASSTYPE_NON_AGGREGATE
        from pattern to type.

        * g++.dg/cpp1z/pr79143.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/pr79143.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]