aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-05-09 08:38:50 +0000
committerNick Clifton <nickc@gcc.gnu.org>2011-05-09 08:38:50 +0000
commit2cf320a89d0de024bac7d92771763f8e124ce152 (patch)
treef6dae92ea2eec8712d9d2b0ae274d7f305724759
parent6f57bdf6d64f9ee7653a439f03dafa09f45b5475 (diff)
downloadgcc-2cf320a89d0de024bac7d92771763f8e124ce152.zip
gcc-2cf320a89d0de024bac7d92771763f8e124ce152.tar.gz
gcc-2cf320a89d0de024bac7d92771763f8e124ce152.tar.bz2
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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/mn10300/mn10300.c4
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b7f6d3b..d824cff 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-09 Nick Clifton <nickc@redhat.com>
+
+ PR target/48897
+ * config/mn10300/mn10300.c (extract_bundle): Remove spurious local
+ variable 's'.
+
2011-05-08 Chung-Lin Tang <cltang@codesourcery.com>
* combine.c (simplify_comparison): Abstract out parts into...
diff --git a/gcc/config/mn10300/mn10300.c b/gcc/config/mn10300/mn10300.c
index 5371467..f9052d5 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: