Commit 688743e7 by Richard Earnshaw

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

label.

From-SVN: r7753
parent a08e7493
...@@ -409,7 +409,8 @@ extern enum floating_point_type arm_fpu; ...@@ -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. 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 APCS says that the frame pointer does not need to be pushed in leaf
functions. */ 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. */ /* Base register for access to arguments of the function. */
#define ARG_POINTER_REGNUM 26 #define ARG_POINTER_REGNUM 26
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment