* config/arm/arm.c (arm_output_epilogue): Remove excess checks.
authorPaul Brook <paul@codesourcery.com>
Thu, 24 Jun 2004 11:01:56 +0000 (11:01 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Thu, 24 Jun 2004 11:01:56 +0000 (11:01 +0000)
From-SVN: r83589

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

index 6d23ff919c33b0c696c14110422dc7c5fb9c7bbc..4a87edd51f0e7e7c26832cb484973770118bfc05 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 6bbe8f6809888ff37083088ba8848873f8379680..ed4188801351a049a5665753282c37127449e544 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.  */