mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-18 23:51:08 +08:00
* ipa.c (cgraph_comdat_can_be_unshared_p): Fix pasto.
From-SVN: r174954
This commit is contained in:
parent
b6a1daaa77
commit
00cfc36357
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user