[Bug tree-optimization/77283] [7 Regression] Revision 238005 disables loop unrolling

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 12 10:38:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77283

--- Comment #14 from Richard Biener <rguenth at gcc dot gnu.org> ---
And maybe PR77366 is too simplified.  The following testcase is "fixed":

void
foo(unsigned int size, unsigned int *state)
{
  unsigned int i;

  for(i = 0; i < size; i++)
    {
      if(state[i] & 1)
        state[i] ^= 1;
    }
}


More information about the Gcc-bugs mailing list