diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2015-12-10 20:20:14 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2015-12-10 19:20:14 +0000 |
commit | 5af56ae8f839480b279d1c89f4a0a1df7bd8dde2 (patch) | |
tree | 929c94d07fa924c519891a5c38a32cbc3d416489 /gcc/tree-ssa-scopedtables.c | |
parent | f6069ccc2b4a6d02ae3f51119a6471a3b11b2119 (diff) | |
download | gcc-5af56ae8f839480b279d1c89f4a0a1df7bd8dde2.zip gcc-5af56ae8f839480b279d1c89f4a0a1df7bd8dde2.tar.gz gcc-5af56ae8f839480b279d1c89f4a0a1df7bd8dde2.tar.bz2 |
ipa-cp.c (ipcp_cloning_candidate_p): Use node->optimize_for_size_p.
* ipa-cp.c (ipcp_cloning_candidate_p): Use node->optimize_for_size_p.
(good_cloning_opportunity_p): Likewise.
(gather_context_independent_values): Do not return true when
polymorphic call context is known or when we have known aggregate
value of unused parameter.
(estimate_local_effects): Try to create clone for all context
when either some params are substituted or devirtualization is possible
or some params can be removed; use local flag instead of
node->will_be_removed_from_program_if_no_direct_calls_p.
(identify_dead_nodes): Likewise.
* gcc.c-torture/execute/20010122-1.c: Disable cloning.
From-SVN: r231540
Diffstat (limited to 'gcc/tree-ssa-scopedtables.c')
0 files changed, 0 insertions, 0 deletions