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
This commit is contained in:
Joern Rennecke 2013-02-26 14:19:24 +00:00 committed by Joern Rennecke
parent ecf3abb99a
commit 9b639e2c03
3 changed files with 7 additions and 4 deletions

View File

@ -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> 2013-02-26 Marek Polacek <polacek@redhat.com>
PR tree-optimization/56426 PR tree-optimization/56426

View File

@ -168,9 +168,6 @@ gen_int_relational (enum rtx_code code,
{ {
enum machine_mode mode; enum machine_mode mode;
int branch_p; int branch_p;
rtx temp;
rtx cond;
rtx label;
mode = GET_MODE (cmp0); mode = GET_MODE (cmp0);
if (mode == VOIDmode) if (mode == VOIDmode)

View File

@ -824,7 +824,6 @@
{ {
int i; int i;
int shifts = INTVAL (operands[2]); int shifts = INTVAL (operands[2]);
rtx one = GEN_INT (1);
if (shifts == 0) if (shifts == 0)
emit_move_insn (operands[0], operands[1]); emit_move_insn (operands[0], operands[1]);