PR c++/82331 - ICE with variadic partial specialization of auto
authorJason Merrill <jason@redhat.com>
Tue, 5 Dec 2017 18:05:23 +0000 (13:05 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 5 Dec 2017 18:05:23 +0000 (13:05 -0500)
commit53943619eb92811e82c3e0917c675ee709fbfe2a
treeaffb0e2772b1c6668f7630c51679cf72c17efead
parentea9e71de65fd640620938a463d30408f92fea8d1
PR c++/82331 - ICE with variadic partial specialization of auto

* pt.c (unify) [TEMPLATE_PARM_INDEX]: Set processing_template_decl
around call to tsubst.

From-SVN: r255430
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp1z/nontype-auto13.C [new file with mode: 0644]