From: Benjamin Kosnik Date: Wed, 3 Dec 1997 21:25:10 +0000 (+0000) Subject: pt.c (tsubst): Remove tree_cons call (places redundant info into DECL_TEMPLATE_INSTAN... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=53d4d75f4b177e4053693785a45f2d4493c1ba00;p=gcc.git 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 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 7def192d6fa..387c9d7e63e 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 58ecc3ce456..88778f66b90 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