This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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;
    }
}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]