From 53d4d75f4b177e4053693785a45f2d4493c1ba00 Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Wed, 3 Dec 1997 21:25:10 +0000 Subject: [PATCH] pt.c (tsubst): Remove tree_cons call (places redundant info into DECL_TEMPLATE_INSTANTIATION). * pt.c (tsubst): Remove tree_cons call (places redundant info into DECL_TEMPLATE_INSTANTIATION). From-SVN: r16931 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/pt.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 7def192d6fad..387c9d7e63eb 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +Wed Dec 3 13:24:04 1997 Benjamin Kosnik + + * pt.c (tsubst): Remove tree_cons call (places redundant info into + DECL_TEMPLATE_INSTANTIATION). + Wed Dec 3 11:44:52 1997 Jason Merrill * tree.c (is_overloaded_fn): Handle getting a fn template. diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 58ecc3ce456d..88778f66b901 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -2482,8 +2482,6 @@ tsubst (t, args, nargs, in_decl) else SET_DECL_IMPLICIT_INSTANTIATION (r); - DECL_TEMPLATE_INSTANTIATIONS (tmpl) - = tree_cons (argvec, r, DECL_TEMPLATE_INSTANTIATIONS (tmpl)); } /* Like grokfndecl. If we don't do this, pushdecl will mess up our