Patchwork Committed: Fix PR target/48901

login
register
mail settings
Submitter Joern Rennecke
Date Feb. 26, 2013, 3:23 p.m.
Message ID <20130226102304.llyd0v5moow8w48w-nzlynne@webmail.spamcop.net>
Download mbox | patch
Permalink /patch/223234/
State New
Headers show

Comments

Joern Rennecke - Feb. 26, 2013, 3:23 p.m.
Committed as obvious.
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.

Patch

Index: config/lm32/lm32.c
===================================================================
--- config/lm32/lm32.c	(revision 196254)
+++ config/lm32/lm32.c	(working copy)
@@ -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)
Index: config/lm32/lm32.md
===================================================================
--- config/lm32/lm32.md	(revision 196254)
+++ config/lm32/lm32.md	(working copy)
@@ -824,7 +824,6 @@  (define_expand "ashlsi3"
         {
           int i;
           int shifts = INTVAL (operands[2]);
-          rtx one = GEN_INT (1);
           
           if (shifts == 0)
             emit_move_insn (operands[0], operands[1]);