This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/79143] [7 Regression][new inheriting constructors] inheriting constructor fails with brace initialization
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 09 Feb 2017 22:12:47 +0000
- Subject: [Bug c++/79143] [7 Regression][new inheriting constructors] inheriting constructor fails with brace initialization
- Auto-submitted: auto-generated
- References: <bug-79143-4@http.gcc.gnu.org/bugzilla/>
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