mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-11 08:34:42 +08:00
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
This commit is contained in:
parent
ca6d8cae45
commit
53d4d75f4b
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user