diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2016-05-04 18:36:51 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2016-05-04 16:36:51 +0000 |
commit | 6b715bf6d991249181ce532442fa5513e137f708 (patch) | |
tree | 9eaf587465ab186e64c5890827bfe771bf2b2f5c /gcc/tree-inline.c | |
parent | deef71132774618d06d571e935d10753f92d8ad9 (diff) | |
download | gcc-6b715bf6d991249181ce532442fa5513e137f708.zip gcc-6b715bf6d991249181ce532442fa5513e137f708.tar.gz gcc-6b715bf6d991249181ce532442fa5513e137f708.tar.bz2 |
cgraph.c (cgraph_node::call_for_symbol_thunks_and_aliases): Check availability on NODE, too.
* cgraph.c (cgraph_node::call_for_symbol_thunks_and_aliases):
Check availability on NODE, too.
* cgraph.h (symtab_node::call_for_symbol_and_aliases): Likewise.
(cgraph_node::call_for_symbol_and_aliases): Likewise.
(varpool_node::call_for_symbol_and_aliase): Likewise.
* ipa-pure-const.c (add_new_function): Analyze all bodies.
(propagate_pure_const): Propagate across interposable functions, too.
(skip_function_for_local_pure_const): Do not skip interposable bodies
with aliases.
(pass_local_pure_const::execute): Update.
* gcc.dg/ipa/pure-const-3.c: New testcase.
From-SVN: r235887
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions