This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r129844 - in /trunk/gcc: cp/ChangeLog cp/pt.c t...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 02 Nov 2007 05:50:08 -0000
- Subject: r129844 - in /trunk/gcc: cp/ChangeLog cp/pt.c t...
Author: jason
Date: Fri Nov 2 05:50:06 2007
New Revision: 129844
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129844
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/template/ttp23.C
trunk/gcc/testsuite/g++.dg/template/ttp24.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c