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
This commit is contained in:
parent
56bf1fd97a
commit
7b4f18a381
2 changed files with 5 additions and 0 deletions
|
@ -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):
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue