Hi, This patch deletes 2 unnecessary codes in function aarch64_if_then_else_costs, which were duplicated where the function starts.
Tested on aarch64. OK for trunk? Regards! Hujp --- gcc/config/aarch64/aarch64.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 7c3ab3eeb1f..a70b2287b2c 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -11774,8 +11774,6 @@ aarch64_if_then_else_costs (rtx op0, rtx op1, rtx op2, int *cost, bool speed) if (speed) { machine_mode mode = GET_MODE (XEXP (op1, 0)); - const struct cpu_cost_table *extra_cost - = aarch64_tune_params.insn_extra_cost; if (GET_MODE_CLASS (mode) == MODE_INT) *cost += extra_cost->alu.arith; -- 2.17.1