[Bug c++/54653] [4.6/4.7/4.8 Regression] tsubst_template_parms ICE

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 6 14:37:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54653

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2012-12-06 14:37:08 UTC ---
Author: jason
Date: Thu Dec  6 14:37:04 2012
New Revision: 194249

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194249
Log:
    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.

Added:
    trunk/gcc/testsuite/g++.dg/template/partial-specialization2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/pt.c



More information about the Gcc-bugs mailing list