PR c++/81060 - ICE with unexpanded parameter pack.
authorJason Merrill <jason@redhat.com>
Tue, 19 Jun 2018 00:38:26 +0000 (20:38 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 19 Jun 2018 00:38:26 +0000 (20:38 -0400)
commitcae39eb41f37b8714f5684ee58b74460f2b76cd2
treee3a97dbe20d14841f93735ebc431279b631bc2df
parent094c2a2373d922f7e06f99f29fc5baaea961d79e
PR c++/81060 - ICE with unexpanded parameter pack.

* pt.c (check_for_bare_parameter_packs): Add loc parameter.
* decl.c (grokdeclarator): Call it for qualifying_scope.

From-SVN: r261725
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/pr81060.C
gcc/testsuite/g++.dg/cpp0x/variadic-ex2.C