Commit 00cfc363 by Jan Hubicka Committed by Jan Hubicka

* ipa.c (cgraph_comdat_can_be_unshared_p): Fix pasto.

From-SVN: r174954
parent b6a1daaa
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.
(lto_symtab_resolve_can_prevail_p): Likewise.
(lto_symtab_merge_cgraph_nodes): Update merging of aliases.
......
......@@ -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;
}
......
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