re PR c++/30897 (ICE with default argument in template template parameter)
commitef3b7b176100495d541b40439b1f3b9e672d071d
authorJason Merrill <jason@gcc.gnu.org>
Fri, 2 Nov 2007 05:50:06 +0000 (2 01:50 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 2 Nov 2007 05:50:06 +0000 (2 01:50 -0400)
tree31e836c6fc221c8334adaa2c5aa5efc804599663
parente1a18c68eba04c396dd491a361aeef15f73e8b05
re PR c++/30897 (ICE with default argument in template template parameter)

        PR c++/30897
        * pt.c (push_template_decl_real): Set DECL_CONTEXT on template
        template parms.
        (lookup_template_class): Use it to get the outer template args
        for instantiating one.

        PR c++/29236
        * pt.c (reduce_template_parm_level): tsubst the parameters
        of a template template parm.

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