Commit 0cc3dda8 by Paul Brook Committed by Paul Brook

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

From-SVN: r83589
parent bbb2a345
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
......
......@@ -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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment