[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug tree-optimization/26763] [4.1 Regression] wrong final value of induction variable calculated




------- Comment #4 from rakdver at gcc dot gnu dot org  2006-03-28 12:08 -------
With this testcase, problem reproduces both in 4.1 and in mainline:

int try (int *a)
{
  return a + -1 > a;
}

int main(void)
{
  int bla[100];

  if (try (bla + 50))
    abort ();

  return 0;
}


-- 


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

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



Reply to: