From: Paul Brook Date: Thu, 24 Jun 2004 11:01:56 +0000 (+0000) Subject: * config/arm/arm.c (arm_output_epilogue): Remove excess checks. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0cc3dda8302dcb7e042fccd493b1810118450f93;p=gcc.git * config/arm/arm.c (arm_output_epilogue): Remove excess checks. From-SVN: r83589 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6d23ff919c3..4a87edd51f0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-06-24 Paul Brook + + * config/arm/arm.c (arm_output_epilogue): Remove excess checks. + 2004-06-23 Andrew Pinski PR middle-end/15988 diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 6bbe8f68098..ed418880135 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -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. */