Committed: Fix PR target/48901

Joern Rennecke joern.rennecke@embecosm.com
Tue Feb 26 15:23:00 GMT 2013


Committed as obvious.
-------------- next part --------------
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.

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


More information about the Gcc-patches mailing list