re PR c++/54653 (tsubst_template_parms ICE)
authorJason Merrill <jason@redhat.com>
Thu, 6 Dec 2012 14:37:04 +0000 (09:37 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 6 Dec 2012 14:37:04 +0000 (09:37 -0500)
commitd8169a0d2a030e0b25fc545f535328b5adfaadec
tree2f21964d095b17cf337c7e6fbd439cf54e912a00
parent5128e01493b8f75a32b413c9ff504401a116b9ca
re PR c++/54653 (tsubst_template_parms ICE)

PR c++/54653
* parser.c (cp_parser_class_head): A partial specialization scope
counts as a template.
* pt.c (tsubst_template_parms): Handle template template parm parms.
(tsubst_decl) [TEMPLATE_DECL]: Handle getting a template template
argument back.

From-SVN: r194249
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/cp/pt.c
gcc/testsuite/g++.dg/template/partial-specialization2.C [new file with mode: 0644]