[Bug tree-optimization/41101] [4.4/4.5 Regression] ICE in compute_antic, at tree-ssa-pre.c:2419
------- Comment #6 from rguenth at gcc dot gnu dot org 2009-08-18 11:47 -------
One reduced testcase, requires both the typedef and the unprototyped foo
(thus, implicit return type int).
typedef long *GEN;
int foo(GEN);
void int_elt_val(GEN nf, GEN x, GEN y, long N, int b)
{
GEN tmp, a;
int i;
while (1)
{
for (i=1; i<=N; i++)
{
a = (GEN) (__SIZE_TYPE__) foo(((GEN *)x)[1]);
((GEN *)y)[i] = (GEN) (__SIZE_TYPE__) foo(a);
if (b)
return;
}
tmp=x;
x=y;
y=tmp;
}
}
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41101
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
Reply to: