20010122-1.c
3.26 KB
-
ipa-cp.c (ipcp_cloning_candidate_p): Use node->optimize_for_size_p. · 5af56ae8
* 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
Jan Hubicka committed