This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/41101] [4.4/4.5 Regression] ICE in compute_antic, at tree-ssa-pre.c:2419
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Sep 2009 18:15:09 -0000
- Subject: [Bug tree-optimization/41101] [4.4/4.5 Regression] ICE in compute_antic, at tree-ssa-pre.c:2419
- References: <bug-41101-5724@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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