[Bug tree-optimization/24709] [4.1 Regression] 4.1.0 HEAD crashes with enable-checking on huge switch statement
amacleod at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Nov 14 15:18:00 GMT 2005
------- Comment #6 from amacleod at redhat dot com 2005-11-14 15:18 -------
Subject: Bug 24709
Author: amacleod
Revision: 106865
Modified property: svn:log
Modified: svn:log at Mon Nov 14 15:18:46 2005
------------------------------------------------------------------------------
--- svn:log (original)
+++ svn:log Mon Nov 14 15:18:46 2005
@@ -1,24 +1,4 @@
-
-In an attempt to prevent an infinite loop when verifying the immediate use
links, an arbitrary limit was checked which is higher than one would ever
expect to see. Unfortunately, the limit was set too low. the original value of
30,000 uses
-was exceeded by this test case (It peaked at about 32,000+). The new limit
should never be reached....
-
+ PR tree-optimization/24709
* tree-ssa-operands.c (verify_imm_links): Increase limit for infinite
loop check.
-
-
-Index: tree-ssa-operands.c
-===================================================================
---- tree-ssa-operands.c (revision 106272)
-+++ tree-ssa-operands.c (working copy)
-@@ -2012,8 +2012,8 @@
-
- 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;
- }
-
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24709
More information about the Gcc-bugs
mailing list