From: Hu Jiangping Date: Tue, 4 Aug 2020 16:35:12 +0000 (+0100) Subject: aarch64: Delete unnecessary code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03c547d6659cbd3dec594aa801d94f68305c3652;p=gcc.git aarch64: Delete unnecessary code gcc/ * config/aarch64/aarch64.c (aarch64_if_then_else_costs): Delete redundant extra_cost variable. --- diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 7b7faba7083..b7f5bc76f1b 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -11780,8 +11780,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;