Commit 2f86b26a by Jason Merrill

revert: pt.c (lookup_template_class): Don't mess with…

revert: pt.c (lookup_template_class): Don't mess with DECL_TEMPLATE_INSTANTIATIONS except for partial instantiations.

Revert:
	* pt.c (lookup_template_class): Don't mess with
	DECL_TEMPLATE_INSTANTIATIONS except for partial instantiations.

From-SVN: r160401
parent b0a421e8
......@@ -9,9 +9,6 @@
(instantiate_class_template): Use it.
* search.c (lookup_base): Use it.
* pt.c (lookup_template_class): Don't mess with
DECL_TEMPLATE_INSTANTIATIONS except for partial instantiations.
2010-06-07 Jakub Jelinek <jakub@redhat.com>
PR c++/44444
......
......@@ -6723,7 +6723,6 @@ lookup_template_class (tree d1,
/* Note this use of the partial instantiation so we can check it
later in maybe_process_partial_specialization. */
if (use_partial_inst_tmpl)
DECL_TEMPLATE_INSTANTIATIONS (templ)
= tree_cons (arglist, t,
DECL_TEMPLATE_INSTANTIATIONS (templ));
......
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