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/41101] [4.4/4.5 Regression] ICE in compute_antic, at tree-ssa-pre.c:2419



------- Comment #10 from rguenth at gcc dot gnu dot org  2009-09-04 18:15 -------
Testcase with less IL:

int func(int);

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

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


-- 


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


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