Patchwork Committed: Fix PR target/52550

login
register
mail settings
Submitter Joern Rennecke
Date Feb. 26, 2013, 3:26 p.m.
Message ID <20130226102655.h4160tskw8cwkwk4-nzlynne@webmail.spamcop.net>
Download mbox | patch
Permalink /patch/223238/
State New
Headers show

Comments

Joern Rennecke - Feb. 26, 2013, 3:26 p.m.
Committed as obvious.
2013-02-26  Joern Rennecke  <joern.rennecke@embecosm.com>

        PR target/52550
        * config/tilegx/tilegx.c (tilegx_expand_prologue):
        Remove unused variable cfa_offset.
        * config/tilepro/tilepro.c (tilepro_expand_prologue): Likewise.

Patch

Index: config/tilegx/tilegx.c
===================================================================
--- config/tilegx/tilegx.c	(revision 196254)
+++ config/tilegx/tilegx.c	(working copy)
@@ -3952,8 +3952,6 @@  tilegx_expand_prologue (void)
          address.  */
       rtx chain_addr = gen_rtx_REG (Pmode, next_scratch_regno--);
       rtx size_rtx = GEN_INT (-(total_size - UNITS_PER_WORD));
-      int cfa_offset =
-	frame_pointer_needed ? UNITS_PER_WORD - total_size : UNITS_PER_WORD;
 
       if (add_operand (size_rtx, Pmode))
 	{
Index: config/tilepro/tilepro.c
===================================================================
--- config/tilepro/tilepro.c	(revision 196254)
+++ config/tilepro/tilepro.c	(working copy)
@@ -3573,8 +3573,6 @@  tilepro_expand_prologue (void)
          address.  */
       rtx chain_addr = gen_rtx_REG (Pmode, next_scratch_regno--);
       rtx size_rtx = gen_int_si (-(total_size - UNITS_PER_WORD));
-      int cfa_offset =
-	frame_pointer_needed ? UNITS_PER_WORD - total_size : UNITS_PER_WORD;
 
       if (add_operand (size_rtx, Pmode))
 	{