diff options
author | Jason Merrill <jason@yorick.cygnus.com> | 1997-10-23 09:55:55 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1997-10-23 05:55:55 -0400 |
commit | 7b4f18a3817f6d4016a9c8caac30a0ca9cc376dd (patch) | |
tree | 56ad63a407a7cad9bf0053f715f2f2476cd0cbb5 /gcc | |
parent | 56bf1fd97aba55f54aa2ccc73768fc6160210d6e (diff) | |
download | gcc-7b4f18a3817f6d4016a9c8caac30a0ca9cc376dd.zip gcc-7b4f18a3817f6d4016a9c8caac30a0ca9cc376dd.tar.gz gcc-7b4f18a3817f6d4016a9c8caac30a0ca9cc376dd.tar.bz2 |
pt.c (instantiate_decl): SET_DECL_IMPLICIT_INSTANTIATION on new decl.
* pt.c (instantiate_decl): SET_DECL_IMPLICIT_INSTANTIATION on new decl.
Fixes libstdc++ failure.
From-SVN: r16153
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/pt.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ca3ef80..a1bb470 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +Thu Oct 23 02:01:30 1997 Jason Merrill <jason@yorick.cygnus.com> + + * pt.c (instantiate_decl): SET_DECL_IMPLICIT_INSTANTIATION on new decl. + 1997-10-22 Brendan Kehoe <brendan@cygnus.com> * method.c (build_template_parm_names, build_decl_overload_real): diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index e960f13..1d16bb2 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -4510,6 +4510,7 @@ instantiate_decl (d) save_ti = DECL_TEMPLATE_INFO (decl_pattern); DECL_TEMPLATE_INFO (decl_pattern) = NULL_TREE; td = tsubst (decl_pattern, args, TREE_VEC_LENGTH (args), tmpl); + SET_DECL_IMPLICIT_INSTANTIATION (td); DECL_TEMPLATE_INFO (decl_pattern) = save_ti; /* And set up DECL_INITIAL, since tsubst doesn't. */ |