From: Richard Stallman Date: Thu, 26 Mar 1992 08:32:26 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=492f34e08e89e66804226b1a8a038f676d759b85;p=gcc.git *** empty log message *** From-SVN: r589 --- diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 714ee53efbd..150d1bdf305 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -333,9 +333,12 @@ extern int hard_regno_mode_ok[FIRST_PSEUDO_REGISTER]; Used in flow.c, global-alloc.c, and reload1.c. */ extern int leaf_function; +extern int compute_last_arg_offset (); +/* Return 0 if span from stack ptr to last stack arg is too far. */ #define FRAME_POINTER_REQUIRED \ - (! (leaf_function_p () && only_leaf_regs_used ())) + (! (leaf_function_p () && only_leaf_regs_used () \ + && compute_last_arg_offset () < 4090)) /* C statement to store the difference between the frame pointer and the stack pointer values immediately after the function prologue.