[Bug tree-optimization/19224] [4.0 regression] Endless loop compiling simple file: Bug in tree-scalar-evolution.c (instantiate_parameters_1)?
aj at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jan 2 12:05:00 GMT 2005
------- Additional Comments From aj at gcc dot gnu dot org 2005-01-02 12:05 -------
I've reduced the testcase to the following loop:
int
add_long(long tl1, long tl2, long tloop_cnt, long *res)
{
int n;
long l1, l2, l;
l1 = tl1;
l2 = tl2;
l = 0;
for (n = tloop_cnt; n > 0; n--) {
l += l1;
l1 += l2;
l1 += l2;
l2 += l;
l2 += l;
l += l1;
l += l1;
l1 += l2;
l1 += l2;
l2 += l;
l2 += l;
l += l1;
}
*res = l;
return (0);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19224
More information about the Gcc-bugs
mailing list