[Bug tree-optimization/55684] [4.8 Regression] ICE in remove_redundant_iv_tests, at tree-ssa-loop-ivcanon.c:559
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 14 12:07:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55684
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> 2012-12-14 12:06:35 UTC ---
More reduced.
struct s { int data[1]; };
static void
bar (struct s *s, int *p)
{
int i, o;
while (i++)
{
if (o > 0)
return;
for (i = 0; i < 1; i++)
p[o++];
s->data[o] = baz ();
}
}
void
foo ()
{
struct s s;
bar (&s, 0);
}
More information about the Gcc-bugs
mailing list