From: Joern Rennecke Date: Tue, 26 Feb 2013 14:19:24 +0000 (+0000) Subject: re PR target/48901 (lm32.md: ashlsi3: error: unused variable ‘one’) X-Git-Tag: releases/gcc-4.8.0~303 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9b639e2c0319c02fd454ee4a03d8d01a2f2b58ef;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ebd19f7a06fc..444a2ff3c589 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2013-02-26 Joern Rennecke + + 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 PR tree-optimization/56426 diff --git a/gcc/config/lm32/lm32.c b/gcc/config/lm32/lm32.c index 30e13d128d14..6483a03e57dc 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 f7b470343917..77ef46e3bf6f 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]);