From 0cc3dda8302dcb7e042fccd493b1810118450f93 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Thu, 24 Jun 2004 11:01:56 +0000 Subject: [PATCH] * config/arm/arm.c (arm_output_epilogue): Remove excess checks. From-SVN: r83589 --- gcc/ChangeLog | 4 ++++ gcc/config/arm/arm.c | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) 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. */ -- 2.30.2