[Bug tree-optimization/17552] [4.0 Regression] Infinite recursion in analyze_scalar_evolution

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Sep 20 02:28:00 GMT 2004


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-09-20 02:28 -------
Here's a reduced testcase.

======================================
void foo()
{
    int i, j, k;

    if (k > i)
    {
        j = i;
        if (j) j++;
        while (k >= j) j++;
        for (k = i; k < j; k++) ;
    }
}
======================================

Most probably a duplicate of PR 17560.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
  BugsThisDependsOn|                            |17560
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |monitored
   Last reconfirmed|0000-00-00 00:00:00         |2004-09-20 02:28:00
               date|                            |


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



More information about the Gcc-bugs mailing list