Looks like a typo to me. Bootstrapped and regression tested on
x86_64-unknown-linux-gnu with no new regressions.

Is this OK for stage1?

Thanks,
Kugan

gcc/ChangeLog:

2015-02-28  Kugan Vivekanandarajah  <kug...@linaro.org>

        * ira-costs.c (record_operand_costs): Fix typo (remove redundant code).
diff --git a/gcc/ira-costs.c b/gcc/ira-costs.c
index c19f258..1ca156e 100644
--- a/gcc/ira-costs.c
+++ b/gcc/ira-costs.c
@@ -1387,8 +1387,6 @@ record_operand_costs (rtx_insn *insn, enum reg_class 
*pref)
       rtx dest = SET_DEST (set);
       rtx src = SET_SRC (set);
 
-      dest = SET_DEST (set);
-      src = SET_SRC (set);
       if (GET_CODE (dest) == SUBREG
          && (GET_MODE_SIZE (GET_MODE (dest))
              == GET_MODE_SIZE (GET_MODE (SUBREG_REG (dest)))))

Reply via email to