re PR tree-optimization/24709 (4.1.0 HEAD crashes with enable-checking on huge switch statement)

PR tree-optimization/24709
	* tree-ssa-operands.c (verify_imm_links): Increase limit for infinite
	loop check.

From-SVN: r106865
This commit is contained in:
Andrew MacLeod 2005-11-13 16:09:14 +00:00 committed by Andrew Macleod
parent 81daf4baea
commit e84d806450
2 changed files with 8 additions and 2 deletions

View 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

View 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;
}