PR c++/30897
commit864f22674a47236b467dd7edb91d0e7647aef80b
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Nov 2007 05:50:06 +0000 (2 05:50 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Nov 2007 05:50:06 +0000 (2 05:50 +0000)
tree31e836c6fc221c8334adaa2c5aa5efc804599663
parent6c61a9b6f30e1aed58934f8f2b7c30f5b24cae0b
    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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129844 138bc75d-0d04-0410-961f-82ee72b054a4
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]