pt.c (tsubst): Remove tree_cons call (places redundant info into DECL_TEMPLATE_INSTAN...
authorBenjamin Kosnik <bkoz@rhino.cygnus.com>
Wed, 3 Dec 1997 21:25:10 +0000 (21:25 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Wed, 3 Dec 1997 21:25:10 +0000 (21:25 +0000)
* pt.c (tsubst): Remove tree_cons call (places redundant info into
  DECL_TEMPLATE_INSTANTIATION).

From-SVN: r16931

gcc/cp/ChangeLog
gcc/cp/pt.c

index 7def192d6fad2ee208bb4794f4fb836e9d58f95b..387c9d7e63ebec043b6c34d04b51840c7b3aa71a 100644 (file)
@@ -1,3 +1,8 @@
+Wed Dec  3 13:24:04 1997  Benjamin Kosnik  <bkoz@rhino.cygnus.com>
+
+       * pt.c (tsubst): Remove tree_cons call (places redundant info into
+       DECL_TEMPLATE_INSTANTIATION).   
+
 Wed Dec  3 11:44:52 1997  Jason Merrill  <jason@yorick.cygnus.com>
 
        * tree.c (is_overloaded_fn): Handle getting a fn template.
index 58ecc3ce456d14a5ee98023c88695b1aadfffcab..88778f66b9019ca1e9286962d3ab0c43307b04d9 100644 (file)
@@ -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