re PR tree-optimization/24709 (4.1.0 HEAD crashes with enable-checking on huge switch...
authorAndrew MacLeod <amacleod@redhat.com>
Sun, 13 Nov 2005 16:09:14 +0000 (16:09 +0000)
committerAndrew Macleod <amacleod@gcc.gnu.org>
Sun, 13 Nov 2005 16:09:14 +0000 (16:09 +0000)
PR tree-optimization/24709
* tree-ssa-operands.c (verify_imm_links): Increase limit for infinite
loop check.

From-SVN: r106865

gcc/ChangeLog
gcc/tree-ssa-operands.c

index 5d0627bee2da924a85681435ec14ebe6d286804f..e56b81af8bdbe6d799bf88dcaae519d3733325e3 100644 (file)
@@ -1,3 +1,9 @@
+2005-11-13  Andrew MacLeod  <amacleod@redhat.com>
+
+       PR tree-optimization/24709
+       * tree-ssa-operands.c (verify_imm_links): Increase limit for infinite
+       loop check.
+
 2005-11-13  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
        * gthr-posix95.h: Remove declaration of pthread_mutexattr_settype
index c902ff980f69bdf6a5f9bcef63297ae310a1ca25..d6c8ccb3f7d27b243e7a89a4fb62ea8437be5757 100644 (file)
@@ -2012,8 +2012,8 @@ verify_imm_links (FILE *f, tree var)
 
       prev = ptr;
       ptr = ptr->next;
-      /* Avoid infinite loops.  */
-      if (count++ > 30000)
+      /* Avoid infinite loops.  50,000,000 uses probably indicates a problem.  */
+      if (count++ > 50000000)
        goto error;
     }