[Bug c++/82152] [7 Regression] ICE on invalid code in C++17 mode if inheriting constructors are used

2018-04-06 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82152

Jason Merrill  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Jason Merrill  ---
Fixed.

[Bug c++/82152] [7 Regression] ICE on invalid code in C++17 mode if inheriting constructors are used

2018-04-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82152

--- Comment #5 from Jason Merrill  ---
Author: jason
Date: Thu Apr  5 18:27:49 2018
New Revision: 259147

URL: https://gcc.gnu.org/viewcvs?rev=259147&root=gcc&view=rev
Log:
PR c++/82152 - ICE with class deduction and inherited ctor.

* pt.c (do_class_deduction): Ignore inherited ctors.

Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp1z/class-deduction54.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/pt.c