* config/arm/arm.c (arm_output_epilogue): Remove excess checks.
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Jun 2004 11:01:56 +0000 (11:01 +0000)
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Jun 2004 11:01:56 +0000 (11:01 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83589 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/arm/arm.c

index 6d23ff9..4a87edd 100644 (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
index 6bbe8f6..ed41888 100644 (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.  */