From b92e4be3a61fcdf85ea12b393716b47d6ac9477f Mon Sep 17 00:00:00 2001 From: Andreas Krebbel Date: Fri, 6 Nov 2020 12:58:59 +0100 Subject: [PATCH] IBM Z: Remove override of inline params We have pretty aggressive values for inline-min-speedup and max-inline-insns-auto. This unfortunately made more maybe uninitialized warnings to appear when building on Z. With the patch we go back to the default values. gcc/ChangeLog: * config/s390/s390.c (s390_option_override_internal): Remove override of inline params. --- gcc/config/s390/s390.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index b8961a315aa..847cedde674 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -15469,13 +15469,6 @@ s390_option_override_internal (struct gcc_options *opts, SET_OPTION_IF_UNSET (opts, opts_set, param_sched_pressure_algorithm, 2); SET_OPTION_IF_UNSET (opts, opts_set, param_min_vect_loop_bound, 2); - /* Use aggressive inlining parameters. */ - if (opts->x_s390_tune >= PROCESSOR_2964_Z13) - { - SET_OPTION_IF_UNSET (opts, opts_set, param_inline_min_speedup, 2); - SET_OPTION_IF_UNSET (opts, opts_set, param_max_inline_insns_auto, 80); - } - /* Set the default alignment. */ s390_default_align (opts); -- 2.30.2