(FRAME_POINTER_REQUIRED): Always true if the function has a nonlocal

label.

From-SVN: r7753
This commit is contained in:
Richard Earnshaw 1994-07-13 01:06:31 +00:00
parent a08e749380
commit 688743e794

View 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