mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-25 23:11:13 +08:00
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:
parent
81daf4baea
commit
e84d806450
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user