diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ebd19f7a06fcff79d2f66808233d60b8142c421c..444a2ff3c589cdf2fa20d2e451578887286b98ec 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 30e13d128d14320e8f938c317b728160a84efe40..6483a03e57dc4fec51b167e4ed0f4add98d832af 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 f7b470343917cd2dcde30d5ff2132b0b42cf3cf6..77ef46e3bf6f74f3b67f190a23383ea28a8e0a89 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]);