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:
parent
f62dbf031d
commit
fe4e8851ae
9455
gcc/cp/ChangeLog
9455
gcc/cp/ChangeLog
File diff suppressed because it is too large
Load Diff
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue