Patchwork Committed: Fix mcore --enable-werror-always build

login
register
mail settings
Submitter Joern Rennecke
Date Nov. 12, 2010, 7:38 p.m.
Message ID <20101112143834.tjohalqmsswkwcwc-nzlynne@webmail.spamcop.net>
Download mbox | patch
Permalink /patch/71009/
State New
Headers show

Comments

Joern Rennecke - Nov. 12, 2010, 7:38 p.m.
Built on i686-pc-linux-gnu with gcc (GCC) 4.6.0 20101111 (experimental) .

Committed as obvious.
2010-11-12  Joern Rennecke  <amylaar@spamcop.net>

	PR target/46437
	* config/mcore/mcore.c (layout_mcore_frame): Remove unused variable
	localreg.

Patch

Index: config/mcore/mcore.c
===================================================================
--- config/mcore/mcore.c	(revision 166609)
+++ config/mcore/mcore.c	(working copy)
@@ -1704,7 +1704,6 @@  layout_mcore_frame (struct mcore_frame *
   int nbytes;
   int regarg;
   int localregarg;
-  int localreg;
   int outbounds;
   unsigned int growths;
   int step;
@@ -1749,7 +1748,6 @@  layout_mcore_frame (struct mcore_frame *
 
   regarg      = infp->reg_size + infp->arg_size;
   localregarg = infp->local_size + regarg;
-  localreg    = infp->local_size + infp->reg_size;
   outbounds   = infp->outbound_size + infp->pad_outbound;
   growths     = 0;