aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2015-06-03 21:00:18 +0200
committerChristophe Lyon <christophe.lyon@linaro.org>2015-06-11 15:11:00 +0200
commit557793f8e28c9d8d331c720a6c6338048a35beaa (patch)
tree8663ee6d0d3142be215d6e94c9b8ba65a1ec0f54
parent0d721cd18af91505e5d0da72646bc4855808d6eb (diff)
2015-06-03 Christophe Lyon <christophe.lyon@linaro.org>
gcc/ Backport from trunk r222350. 2015-04-23 Kugan Vivekanandarajah <kuganv@linaro.org> * ira-costs.c (record_operand_costs): Fix typo (remove redundant code). Change-Id: Ib83ed4d1910845d5fe785397c508741b3a809fe9
-rw-r--r--gcc/ira-costs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/ira-costs.c b/gcc/ira-costs.c
index 354ba6ba063..41edb33195b 100644
--- a/gcc/ira-costs.c
+++ b/gcc/ira-costs.c
@@ -1380,8 +1380,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)))))