From 688743e7945c33a9060912f99f1fb14a523dc38d Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Wed, 13 Jul 1994 01:06:31 +0000 Subject: (FRAME_POINTER_REQUIRED): Always true if the function has a nonlocal label. From-SVN: r7753 --- gcc/config/arm/arm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index be6823c..66be295 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -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 -- cgit v1.1