[Bug tree-optimization/26763] [4.1 Regression] wrong final value of induction variable calculated
rakdver at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Mar 28 12:08:00 GMT 2006
------- 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
More information about the Gcc-bugs
mailing list