OSDN Git Service

PR target/46437
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Nov 2010 19:35:17 +0000 (19:35 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Nov 2010 19:35:17 +0000 (19:35 +0000)
* config/mcore/mcore.c (layout_mcore_frame): Remove unused variable
localreg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166671 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/mcore/mcore.c

index 88a7c73..5b109eb 100644 (file)
        Change type of omode to enum machine_mode.
        (combine_bnp): Rename and to and_insn.
 
+       PR target/46437
+       * config/mcore/mcore.c (layout_mcore_frame): Remove unused variable
+       localreg.
+
 2010-11-12  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR debug/46375
index 3bd1729..62ab41c 100644 (file)
@@ -1704,7 +1704,6 @@ layout_mcore_frame (struct mcore_frame * infp)
   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 * infp)
 
   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;