diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2015-02-17 22:57:53 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2015-02-17 21:57:53 +0000 |
commit | 1ede94c55982638a877e0ecad794cbe7d1a54a20 (patch) | |
tree | e091500afee952a95172cae6c16c788f2e6b15d7 /gcc/ipa.c | |
parent | f05911fb07ef21bd158da44d8618b7be84f11b21 (diff) | |
download | gcc-1ede94c55982638a877e0ecad794cbe7d1a54a20.zip gcc-1ede94c55982638a877e0ecad794cbe7d1a54a20.tar.gz gcc-1ede94c55982638a877e0ecad794cbe7d1a54a20.tar.bz2 |
ipa-visibility.c (function_and_variable_visibility): Only check locality if node is not already local.
* ipa-visibility.c (function_and_variable_visibility): Only
check locality if node is not already local.
* ipa-inline.c (want_inline_function_to_all_callers_p): Use
call_for_symbol_and_aliases instead of
call_for_symbol_thunks_and_aliases.
(ipa_inline): Likewise.
* cgraph.c (cgraph_node::call_for_symbol_thunks_and_aliases):
first walk aliases.
* ipa.c (symbol_table::remove_unreachable_nodes): Use
call_for_symbol_and_aliases.
* ipa-profile.c (ipa_propagate_frequency_data): Add function_symbol.
(ipa_propagate_frequency_1): Use it; use opt_for_fn
(ipa_propagate_frequency): Update.
(ipa_profile): Add opt_for_fn gueards.
From-SVN: r220775
Diffstat (limited to 'gcc/ipa.c')
-rw-r--r-- | gcc/ipa.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -661,7 +661,7 @@ symbol_table::remove_unreachable_nodes (FILE *file) if (node->address_taken && !node->used_from_other_partition) { - if (!node->call_for_symbol_thunks_and_aliases + if (!node->call_for_symbol_and_aliases (has_addr_references_p, NULL, true) && (!node->instrumentation_clone || !node->instrumented_version |