PR c++/83916 - ICE with template template parameters.
authorJason Merrill <jason@redhat.com>
Wed, 14 Mar 2018 19:17:03 +0000 (15:17 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 14 Mar 2018 19:17:03 +0000 (15:17 -0400)
commite493c503f9d5a9682c18b64d9ef1a00b243fa231
tree255fb4ad8331f2ea13b94a876bd3e7d373693a0a
parentcb90e18c68e8b0350171f45bf14f1c078637efa3
PR c++/83916 - ICE with template template parameters.

* pt.c (convert_template_argument): Don't substitute into type of
non-type parameter if we don't have enough arg levels.
(unify): Likewise.

From-SVN: r258533
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/template/ttp31.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/ttp32.C [new file with mode: 0644]