OSDN Git Service

(probe_stack_range): Do probing with loop if more than a small number.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 27 Jul 1997 16:09:00 +0000 (16:09 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 27 Jul 1997 16:09:00 +0000 (16:09 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14535 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/explow.c

index bb34272..7a529aa 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;