[Bug c++/85006] [7 Regression] [concepts] ICE with bogus parameter pack

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

Volker Reichelt  changed:

   What|Removed |Added

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

--- Comment #4 from Volker Reichelt  ---
Fixed by Jason's patch.

[Bug c++/85006] [7 Regression] [concepts] ICE with bogus parameter pack

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

--- Comment #3 from Jason Merrill  ---
Author: jason
Date: Thu Apr  5 18:27:37 2018
New Revision: 259145

URL: https://gcc.gnu.org/viewcvs?rev=259145=gcc=rev
Log:
PR c++/85006 - -fconcepts ICE with A return type

* pt.c (tsubst_pack_expansion): Allow unsubstituted auto pack.

Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/concepts/auto4.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/pt.c