diff options
author | Richard Stallman <rms@gnu.org> | 1992-03-26 08:32:26 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-03-26 08:32:26 +0000 |
commit | 492f34e08e89e66804226b1a8a038f676d759b85 (patch) | |
tree | af54b19676ca17ee07e59f3484ec84906e926bf7 | |
parent | 348affc3f0c5c828d99bde0864e419c3bc4320e7 (diff) | |
download | gcc-492f34e08e89e66804226b1a8a038f676d759b85.zip gcc-492f34e08e89e66804226b1a8a038f676d759b85.tar.gz gcc-492f34e08e89e66804226b1a8a038f676d759b85.tar.bz2 |
*** empty log message ***
From-SVN: r589
-rw-r--r-- | gcc/config/sparc/sparc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 714ee53..150d1bd 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. |