From: Richard Sandiford Date: Thu, 21 Sep 2017 21:36:27 +0000 (+0000) Subject: Fix spu build after r253072 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=138532b393189ee5b6b5954042a5bf9d930b3b88;p=gcc.git Fix spu build after r253072 2017-09-21 Richard Sandiford gcc/ * config/spu/spu.c (spu_sched_adjust_cost): Update after renaming of insn_cost. From-SVN: r253080 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index baaafa7327a..36d5ec05a1f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-09-21 Richard Sandiford + + * config/spu/spu.c (spu_sched_adjust_cost): Update after renaming + of insn_cost. + 2017-09-21 Martin Sebor * PR c/81882 diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c index 1fc99772286..ed8047dcd3d 100644 --- a/gcc/config/spu/spu.c +++ b/gcc/config/spu/spu.c @@ -3055,7 +3055,7 @@ spu_sched_adjust_cost (rtx_insn *insn, int dep_type, rtx_insn *dep_insn, jump_insn. We adjust here so higher cost insns will get scheduled earlier. */ if (JUMP_P (insn) && dep_type == REG_DEP_ANTI) - return insn_cost (dep_insn) - 3; + return insn_sched_cost (dep_insn) - 3; return cost; }