ipa.c (symtab_remove_unreachable_nodes): Nodes in other partitions are not needed.
* ipa.c (symtab_remove_unreachable_nodes): Nodes in other partitions are not needed. From-SVN: r201431
This commit is contained in:
parent
257e6ab3df
commit
0dcc26c311
@ -1,3 +1,8 @@
|
||||
2013-08-01 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* ipa.c (symtab_remove_unreachable_nodes): Nodes in other partitions are
|
||||
not needed.
|
||||
|
||||
2013-08-01 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* config/i386/i386.h (MAYBE_NON_Q_CLASS_P): New.
|
||||
|
@ -239,6 +239,7 @@ symtab_remove_unreachable_nodes (bool before_inlining_p, FILE *file)
|
||||
node->used_as_abstract_origin = false;
|
||||
if (node->symbol.definition
|
||||
&& !node->global.inlined_to
|
||||
&& !node->symbol.in_other_partition
|
||||
&& (!cgraph_can_remove_if_no_direct_calls_and_refs_p (node)
|
||||
/* Keep around virtual functions for possible devirtualization. */
|
||||
|| (before_inlining_p
|
||||
|
Loading…
Reference in New Issue
Block a user