[Bug tree-optimization/41101] [4.4/4.5 Regression] ICE in compute_antic, at tree-ssa-pre.c:2419

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Sep 4 17:52:00 GMT 2009



------- Comment #9 from rguenth at gcc dot gnu dot org  2009-09-04 17:51 -------
Testcase from PR41263:

int func(int);

int bug(int* x, int* y, int N)
{
  int i;
  int* t;

  while (1)
  {
    for (i=1; i<=N; i++)
    {
      y[i] = func(x[i] - x[1]);
      if (y[i]) return i;
    }
    t=x; x=y; y=t;
  }
}


-- 


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



More information about the Gcc-bugs mailing list