From: Nick Clifton Date: Mon, 9 May 2011 08:38:50 +0000 (+0000) Subject: re PR target/48897 (mn10300.c:extract_bundle’: error: variable ‘s’ set but not used) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2cf320a89d0de024bac7d92771763f8e124ce152;p=gcc.git re PR target/48897 (mn10300.c:extract_bundle’: error: variable ‘s’ set but not used) PR target/48897 * config/mn10300/mn10300.c (extract_bundle): Remove spurious local variable 's'. From-SVN: r173559 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b7f6d3b6f02..d824cff931e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-05-09 Nick Clifton + + PR target/48897 + * config/mn10300/mn10300.c (extract_bundle): Remove spurious local + variable 's'. + 2011-05-08 Chung-Lin Tang * combine.c (simplify_comparison): Abstract out parts into... diff --git a/gcc/config/mn10300/mn10300.c b/gcc/config/mn10300/mn10300.c index 53714673ac8..f9052d55541 100644 --- a/gcc/config/mn10300/mn10300.c +++ b/gcc/config/mn10300/mn10300.c @@ -2959,7 +2959,7 @@ static bool extract_bundle (rtx insn, struct liw_data * pdata) { bool allow_consts = true; - rtx p,s; + rtx p; gcc_assert (pdata != NULL); @@ -2977,8 +2977,6 @@ extract_bundle (rtx insn, struct liw_data * pdata) pdata->op = get_attr_liw_op (insn); - s = SET_SRC (p); - switch (pdata->op) { case LIW_OP_MOV: