[Bug c++/78124] [7 regression][c++1z] explicit inheriting constructor is ignored
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78124 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org --- Comment #4 from Jason Merrill --- Fixed.
[Bug c++/78124] [7 regression][c++1z] explicit inheriting constructor is ignored
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78124 --- Comment #3 from Jason Merrill --- Author: jason Date: Thu Nov 17 21:41:09 2016 New Revision: 242563 URL: https://gcc.gnu.org/viewcvs?rev=242563&root=gcc&view=rev Log: PR c++/78124 - list-initialization and inherited ctor * name-lookup.c (do_class_using_decl): Set CLASSTYPE_NON_AGGREGATE. Added: trunk/gcc/testsuite/g++.dg/cpp0x/inh-ctor23.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-tree.h trunk/gcc/cp/name-lookup.c
[Bug c++/78124] [7 regression][c++1z] explicit inheriting constructor is ignored
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78124 --- Comment #2 from lucdanton at free dot fr --- I ran into a different program that regressed starting at r241187 (again, only for -std=c++1z), this time not involving explicit constructors: //-- struct aggr { int x; }; struct base { base(aggr) {} }; struct derived: base { using base::base; }; base fine() { return { { 0 } }; } // error: could not convert '{{0}}' from '' to 'derived' derived uhoh() { return { { 0 } }; } int main() { }
[Bug c++/78124] [7 regression][c++1z] explicit inheriting constructor is ignored
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78124 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.0
[Bug c++/78124] [7 regression][c++1z] explicit inheriting constructor is ignored
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78124 Martin Liška changed: What|Removed |Added Keywords||rejects-valid Status|UNCONFIRMED |NEW Last reconfirmed||2016-10-27 CC||jason at gcc dot gnu.org, ||marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Liška --- Confirmed. According to my bisecting script first affected is r241187.