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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-05 
09:47:33 UTC ---
Started with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171946
Tiny bit reduced testcase for -O3 -funroll-loops:
int a, b, c, d, e, f, bar (void);

void
foo (int x)
{
  for (;;)
    {
      if (!x)
        {
          for (d = 6; d >= 0; d--)
            {
              while (!b)
                ;
              if (e)
                return foo (x);
              if (f)
                {
                  a = 0;
                  continue;
                }
              for (; c; c--)
                ;
            }
        }
      if (bar ())
        break;
      e = 0;
      if (x)
        for (;;)
          ;
    }
}

Reply via email to