* config/arm/arm.c (arm_output_epilogue): Remove excess checks.

From-SVN: r83589
This commit is contained in:
Paul Brook 2004-06-24 11:01:56 +00:00 committed by Paul Brook
parent bbb2a3456f
commit 0cc3dda830
2 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2004-06-24 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (arm_output_epilogue): Remove excess checks.
2004-06-23 Andrew Pinski <apinski@apple.com>
PR middle-end/15988

View File

@ -9705,10 +9705,7 @@ arm_output_epilogue (rtx sibling)
}
/* We may have already restored PC directly from the stack. */
if (! really_return
|| (ARM_FUNC_TYPE (func_type) == ARM_FT_NORMAL
&& current_function_pretend_args_size == 0
&& saved_regs_mask & (1 << PC_REGNUM)))
if (!really_return || saved_regs_mask & (1 << PC_REGNUM))
return "";
/* Generate the return instruction. */