aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1997-07-27 12:09:00 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1997-07-27 12:09:00 -0400
commit95a086b10a85107c2354d267a0969e2efb6cf361 (patch)
tree4dfa427af2325f42996e85edd0acccf5e449afde /gcc
parent605e6c17a13f2c64a33fdfd17d11b4a1354dbcdf (diff)
downloadgcc-95a086b10a85107c2354d267a0969e2efb6cf361.zip
gcc-95a086b10a85107c2354d267a0969e2efb6cf361.tar.gz
gcc-95a086b10a85107c2354d267a0969e2efb6cf361.tar.bz2
(probe_stack_range): Do probing with loop if more than a small number.
From-SVN: r14535
Diffstat (limited to 'gcc')
-rw-r--r--gcc/explow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/explow.c b/gcc/explow.c
index bb34272..7a529aa5 100644
--- a/gcc/explow.c
+++ b/gcc/explow.c
@@ -1205,8 +1205,8 @@ probe_stack_range (first, size)
#endif
/* If we have to generate explicit probes, see if we have a constant
- number of them to generate. If so, that's the easy case. */
- if (GET_CODE (size) == CONST_INT)
+ small number of them to generate. If so, that's the easy case. */
+ if (GET_CODE (size) == CONST_INT && INTVAL (size) < 10)
{
HOST_WIDE_INT offset;