Commit fe4e8851 by Jason Merrill Committed by Jason Merrill

pt.c (instantiate_class_template): Call repo_template_used before finish_prevtable_vardecl.

	* pt.c (instantiate_class_template): Call repo_template_used
	before finish_prevtable_vardecl.

	* call.c: fix typo.

	* ChangeLog: Remove everything from 2.7.2 back.

From-SVN: r14854
parent f62dbf03
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -5462,7 +5462,7 @@ is_subseq (ics1, ics2) ...@@ -5462,7 +5462,7 @@ is_subseq (ics1, ics2)
{ {
for (;;) for (;;)
{ {
ics2 = TREE_OPERAND (ics2, 0)); ics2 = TREE_OPERAND (ics2, 0);
if (TREE_CODE (ics2) == TREE_CODE (ics1) if (TREE_CODE (ics2) == TREE_CODE (ics1)
&& comptypes (TREE_TYPE (ics2), TREE_TYPE (ics1), 1) && comptypes (TREE_TYPE (ics2), TREE_TYPE (ics1), 1)
......
...@@ -1321,10 +1321,10 @@ instantiate_class_template (type) ...@@ -1321,10 +1321,10 @@ instantiate_class_template (type)
type = finish_struct_1 (type, 0); type = finish_struct_1 (type, 0);
CLASSTYPE_GOT_SEMICOLON (type) = 1; CLASSTYPE_GOT_SEMICOLON (type) = 1;
if (at_eof && TYPE_BINFO_VTABLE (type) != NULL_TREE)
finish_prevtable_vardecl (NULL, TYPE_BINFO_VTABLE (type));
repo_template_used (type); repo_template_used (type);
if (at_eof && TYPE_BINFO_VTABLE (type) != NULL_TREE)
finish_prevtable_vardecl (NULL, TYPE_BINFO_VTABLE (type));
} }
else else
{ {
......
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