From: Bernd Schmidt Date: Mon, 28 Nov 2016 08:59:01 +0000 (+0000) Subject: re PR rtl-optimization/78120 (If conversion no longer performed) X-Git-Tag: basepoints/gcc-8~2770 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03612f25277590cac3df470f07e032cbc30fd7d6;p=thirdparty%2Fgcc.git re PR rtl-optimization/78120 (If conversion no longer performed) PR rtl-optimization/78120 * rtlanal.c (insn_rtx_cost): Revert previous change. From-SVN: r242908 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 44ba41e74cc2..5b8913f811d9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-11-28 Bernd Schmidt + + PR rtl-optimization/78120 + * rtlanal.c (insn_rtx_cost): Revert previous change. + 2016-11-28 Georg-Johann Lay PR 41076 diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 7521a4ece2df..17dbb1eaeb10 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -5237,7 +5237,7 @@ insn_rtx_cost (rtx pat, bool speed) else return 0; - cost = set_rtx_cost (set, speed); + cost = set_src_cost (SET_SRC (set), GET_MODE (SET_DEST (set)), speed); return cost > 0 ? cost : COSTS_N_INSNS (1); }