diff options
author | Martin Liska <mliska@suse.cz> | 2020-01-13 14:38:59 +0100 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2020-01-13 14:38:59 +0100 |
commit | 12122f94b4dadcc096c97da13afbcbd13764e6e3 (patch) | |
tree | 781acf94b6a758c52eeddb48a9cd1106dc11e3e7 /gcc/ipa-cp.c | |
parent | e13f37d9f7600d337f8a4589b5f985ded9e05852 (diff) |
Remove usage of legacy param_ipa_cp_unit_growth.
* ipa-cp.c (get_max_overall_size): Use newly
renamed param param_ipa_cp_unit_growth.
* params.opt: Remove legacy param name.
Diffstat (limited to 'gcc/ipa-cp.c')
-rw-r--r-- | gcc/ipa-cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c index 1c1103ca32b..612f3d0a89b 100644 --- a/gcc/ipa-cp.c +++ b/gcc/ipa-cp.c @@ -3432,7 +3432,7 @@ get_max_overall_size (cgraph_node *node) long large_unit = opt_for_fn (node->decl, param_large_unit_insns); if (max_new_size < large_unit) max_new_size = large_unit; - int unit_growth = opt_for_fn (node->decl, param_ipcp_unit_growth); + int unit_growth = opt_for_fn (node->decl, param_ipa_cp_unit_growth); max_new_size += max_new_size * unit_growth / 100 + 1; return max_new_size; } |