This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/24709] [4.1 Regression] 4.1.0 HEAD crashes with enable-checking on huge switch statement



------- Comment #5 from amacleod at redhat dot com  2005-11-11 16:09 -------
Created an attachment (id=10214)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10214&action=view)
patch for the problem

In an attempt to prevent an infinite loop when verifying the immediate use
links, an arbitrary count limit was checked which is higher than one would
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.... (50,000,000)  If there are that many uses of a
single ssa_name, I doubt compilation would ever finish for other reasons.

I will run this through bootstrap/etc before checking it in, but it should be
completely harmless.


-- 

amacleod at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |amacleod at redhat dot com
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24709


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]