diff options
author | Joern Rennecke <joern.rennecke@embecosm.com> | 2013-02-26 14:19:24 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2013-02-26 14:19:24 +0000 |
commit | 9b639e2c0319c02fd454ee4a03d8d01a2f2b58ef (patch) | |
tree | 932b47ef1dba88f79207dc11ee8847b40d55752a | |
parent | ecf3abb99a8794aaca5c304d483c0d12c0c04ea8 (diff) | |
download | gcc-9b639e2c0319c02fd454ee4a03d8d01a2f2b58ef.zip gcc-9b639e2c0319c02fd454ee4a03d8d01a2f2b58ef.tar.gz gcc-9b639e2c0319c02fd454ee4a03d8d01a2f2b58ef.tar.bz2 |
re PR target/48901 (lm32.md: ashlsi3: error: unused variable ‘one’)
PR target/48901
* config/lm32/lm32.c (gen_int_relational): Remove unused variables
temp, cond and label.
* config/lm32/lm32.md (ashlsi3): Remove unused variable one.
From-SVN: r196285
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/lm32/lm32.c | 3 | ||||
-rw-r--r-- | gcc/config/lm32/lm32.md | 1 |
3 files changed, 7 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ebd19f7..444a2ff 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com> + + PR target/48901 + * config/lm32/lm32.c (gen_int_relational): Remove unused variables + temp, cond and label. + * config/lm32/lm32.md (ashlsi3): Remove unused variable one. + 2013-02-26 Marek Polacek <polacek@redhat.com> PR tree-optimization/56426 diff --git a/gcc/config/lm32/lm32.c b/gcc/config/lm32/lm32.c index 30e13d1..6483a03 100644 --- a/gcc/config/lm32/lm32.c +++ b/gcc/config/lm32/lm32.c @@ -168,9 +168,6 @@ gen_int_relational (enum rtx_code code, { enum machine_mode mode; int branch_p; - rtx temp; - rtx cond; - rtx label; mode = GET_MODE (cmp0); if (mode == VOIDmode) diff --git a/gcc/config/lm32/lm32.md b/gcc/config/lm32/lm32.md index f7b4703..77ef46e 100644 --- a/gcc/config/lm32/lm32.md +++ b/gcc/config/lm32/lm32.md @@ -824,7 +824,6 @@ { int i; int shifts = INTVAL (operands[2]); - rtx one = GEN_INT (1); if (shifts == 0) emit_move_insn (operands[0], operands[1]); |