Commit 7b4f18a3 by Jason Merrill Committed by Jason Merrill

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
parent 56bf1fd9
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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment