* ipa.c (cgraph_comdat_can_be_unshared_p): Fix pasto.

From-SVN: r174954
This commit is contained in:
Jan Hubicka 2011-06-11 16:18:05 +02:00 committed by Jan Hubicka
parent b6a1daaa77
commit 00cfc36357
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-06-11 Jan Hubicka <jh@suse.cz>
* ipa.c (cgraph_comdat_can_be_unshared_p): Fix pasto.
2011-06-11 Jan Hubicka <jh@suse.cz>
* lto-symtab.c (lto_cgraph_replace_node): Kill same body alias code.

View File

@ -571,7 +571,7 @@ cgraph_comdat_can_be_unshared_p (struct cgraph_node *node)
address taken. */
for (next = node->same_comdat_group;
next != node; next = next->same_comdat_group)
if (cgraph_address_taken_from_non_vtable_p (node)
if (cgraph_address_taken_from_non_vtable_p (next)
&& !DECL_VIRTUAL_P (next->decl))
return false;
}