(FRAME_POINTER_REQUIRED): Always true if the function has a nonlocal
authorerich <erich@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Jul 1994 01:06:31 +0000 (01:06 +0000)
committererich <erich@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Jul 1994 01:06:31 +0000 (01:06 +0000)
label.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7753 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/arm/arm.h

index be6823c..66be295 100644 (file)
@@ -409,7 +409,8 @@ extern enum floating_point_type arm_fpu;
    If we have to have a frame pointer we might as well make use of it.
    APCS says that the frame pointer does not need to be pushed in leaf
    functions.  */
-#define FRAME_POINTER_REQUIRED (TARGET_APCS && !leaf_function_p ())
+#define FRAME_POINTER_REQUIRED         \
+  (current_function_has_nonlocal_label || (TARGET_APCS && !leaf_function_p ()))
 
 /* Base register for access to arguments of the function.  */
 #define ARG_POINTER_REGNUM     26