diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2015-03-09 05:53:54 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2015-03-09 04:53:54 +0000 |
commit | e0d514da7ba05dabd279fee99a1ef8f40f098ab0 (patch) | |
tree | 4d0fa49deb182f96c355f84d405543db33394f5d /gcc/fold-const.c | |
parent | 68ca4ac90b7413e7007ae6b08d372205e42bdb7d (diff) | |
download | gcc-e0d514da7ba05dabd279fee99a1ef8f40f098ab0.zip gcc-e0d514da7ba05dabd279fee99a1ef8f40f098ab0.tar.gz gcc-e0d514da7ba05dabd279fee99a1ef8f40f098ab0.tar.bz2 |
ipa-inline-analysis.c (check_callers): Check node->can_remove_if_no_direct_calls_and_refs_p.
* ipa-inline-analysis.c (check_callers): Check
node->can_remove_if_no_direct_calls_and_refs_p.
(growth_likely_positive): Reorganize to call
can_remove_if_no_direct_calls_p later.
* cgraph.h (will_be_removed_from_program_if_no_direct_calls_p,
will_be_removed_from_program_if_no_direct_calls_p): Add
will_inline parameter.
* cgraph.c (cgraph_node::can_remove_if_no_direct_calls_p,
cgraph_node::will_be_removed_from_program_if_no_direct_calls_p):
Handle inliner case correctly.
From-SVN: r221277
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions