]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
(probe_stack_range): Do probing with loop if more than a small number.
authorRichard Kenner <kenner@gcc.gnu.org>
Sun, 27 Jul 1997 16:09:00 +0000 (12:09 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 27 Jul 1997 16:09:00 +0000 (12:09 -0400)
From-SVN: r14535

gcc/explow.c

index bb34272b3f8f58dadbcdcb1ba5bb383feb135f08..7a529aa5b647fa06eec72a0f27d927c17475b8bd 100644 (file)
@@ -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;