http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49710

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.07.12 07:32:35
                 CC|                            |jakub at gcc dot gnu.org
          Component|c                           |rtl-optimization
     Ever Confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-12 
07:32:35 UTC ---
Slightly reduced testcase for -O3 -funroll-loops:

int a, b, c, d;

static void
foo (int *x)
{
  c = 0;
  while (1)
    {
      if (*x)
break;
      while (b)
for (; c; c = 0);
      for (d = 18; d != 18; d++)
if (c)
  {
    foo (x);
    return;
  }
    }
}

static void
bar ()
{
  foo (0);
  foo (0);
  for (;;)
    ;
}

baz ()
{
  for (; a;)
    bar ();
}

ICEs in fix_bb_placements during rtl loop peeling.

Reply via email to