aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/pt.c
diff options
context:
space:
mode:
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>2001-07-06 06:36:47 +0000
committerKriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org>2001-07-06 06:36:47 +0000
commitdac655014e1c2260c7b55b2c3dcc0e8f9678aaef (patch)
tree4ab6e0a3c0db731c148fb90ee146d4bbc2222c30 /gcc/cp/pt.c
parentaf418b8cb81e526c2a2d5f9195f26af1d6e722a3 (diff)
downloadgcc-dac655014e1c2260c7b55b2c3dcc0e8f9678aaef.zip
gcc-dac655014e1c2260c7b55b2c3dcc0e8f9678aaef.tar.gz
gcc-dac655014e1c2260c7b55b2c3dcc0e8f9678aaef.tar.bz2
cp-tree.h (copy_template_template_parm): Rename to ...
* cp-tree.h (copy_template_template_parm): Rename to ... (bind_template_template_parm): ... here. * tree.c (copy_template_template_parm): Rename to ... (bind_template_template_parm): ... here. Remove the case when NEWARGS is NULL_TREE. (copy_tree_r): Don't copy TEMPLATE_TEMPLATE_PARM and BOUND_TEMPLATE_TEMPLATE_PARM. * pt.c (lookup_template_class): Adjust. From-SVN: r43800
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r--gcc/cp/pt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index d9fa17f..b601640 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -3912,8 +3912,7 @@ lookup_template_class (d1, arglist, in_decl, context, entering_scope, complain)
if (arglist2 == error_mark_node)
return error_mark_node;
- parm = copy_template_template_parm (TREE_TYPE (template), arglist2);
- TYPE_SIZE (parm) = 0;
+ parm = bind_template_template_parm (TREE_TYPE (template), arglist2);
return parm;
}
else