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
This commit is contained in:
Jason Merrill 1997-08-19 23:31:19 +00:00 committed by Jason Merrill
parent f62dbf031d
commit fe4e8851ae
3 changed files with 6 additions and 9455 deletions

File diff suppressed because it is too large Load Diff

View File

@ -5462,7 +5462,7 @@ is_subseq (ics1, ics2)
{
for (;;)
{
ics2 = TREE_OPERAND (ics2, 0));
ics2 = TREE_OPERAND (ics2, 0);
if (TREE_CODE (ics2) == TREE_CODE (ics1)
&& comptypes (TREE_TYPE (ics2), TREE_TYPE (ics1), 1)

View File

@ -1321,10 +1321,10 @@ instantiate_class_template (type)
type = finish_struct_1 (type, 0);
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);
if (at_eof && TYPE_BINFO_VTABLE (type) != NULL_TREE)
finish_prevtable_vardecl (NULL, TYPE_BINFO_VTABLE (type));
}
else
{