This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r166954 - in /trunk/gcc: ChangeLog config/crx/c...
- From: amylaar at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 19 Nov 2010 19:22:28 -0000
- Subject: r166954 - in /trunk/gcc: ChangeLog config/crx/c...
Author: amylaar
Date: Fri Nov 19 19:22:27 2010
New Revision: 166954
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166954
Log:
PR target/46434
* config/crx/crx.c (crx_expand_epilogue): Remove unused variable.
Index: config/crx/crx.c
===================================================================
--- config/crx/crx.c (revision 166609)
+++ config/crx/crx.c (working copy)
@@ -613,6 +613,8 @@ static int crx_addr_reg_p (rtx addr_reg)
return FALSE;
}
+ gcc_assert (REGNO (reg) != CC_REGNUM);
+
return TRUE;
}
@@ -1439,17 +1441,12 @@ crx_expand_prologue (void)
void
crx_expand_epilogue (void)
{
- rtx return_reg;
-
/* Nonzero if we need to return and pop only RA. This will generate a
* different insn. This differentiate is for the peepholes for call as last
* statement in function. */
int only_popret_RA = (save_regs[RETURN_ADDRESS_REGNUM]
&& (sum_regs == UNITS_PER_WORD));
- /* Return register. */
- return_reg = gen_rtx_REG (Pmode, RETURN_ADDRESS_REGNUM);
-
if (frame_pointer_needed)
/* Restore the stack pointer with the frame pointers value */
emit_move_insn (stack_pointer_rtx, frame_pointer_rtx);
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/crx/crx.c