* decl2.c (var_finalized_p): Swap arms of conditional.

From-SVN: r71319
This commit is contained in:
David Edelsohn 2003-09-11 20:47:13 +00:00 committed by David Edelsohn
parent dfb03c453c
commit b44a178ae8
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2003-09-11 David Edelsohn <edelsohn@gnu.org>
* decl2.c (var_finalized_p): Swap arms of conditional.
2003-09-10 Nathan Sidwell <nathan@codesourcery.com>
PR c++/11788

View File

@ -1627,9 +1627,9 @@ static bool
var_finalized_p (tree var)
{
if (flag_unit_at_a_time)
return TREE_ASM_WRITTEN (var);
else
return cgraph_varpool_node (var)->finalized;
else
return TREE_ASM_WRITTEN (var);
}
/* If necessary, write out the vtables for the dynamic class CTYPE.