diff mbox

Fix typo in ira-costs.c

Message ID 54F0E728.80901@linaro.org
State New
Headers show

Commit Message

Kugan Vivekanandarajah Feb. 27, 2015, 9:52 p.m. UTC
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  <kuganv@linaro.org>

	* ira-costs.c (record_operand_costs): Fix typo (remove redundant code).
diff mbox

Patch

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)))))