https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90552
--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> --- Patch to fix this particular PR: --cut here-- diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 463e78112f0..79fcb5c4e57 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -19124,7 +19124,8 @@ ix86_rtx_costs (rtx x, machine_mode mode, int outer_code_i, int opno, rtx mask; enum rtx_code code = GET_CODE (x); enum rtx_code outer_code = (enum rtx_code) outer_code_i; - const struct processor_costs *cost = speed ? ix86_cost : &ix86_size_cost; + const struct processor_costs *cost + = speed ? ix86_tune_cost : &ix86_size_cost; int src_cost; switch (code) --cut here--