[Bug tree-optimization/100499] [9/10/11/12 Regression] Different results with -fpeel-loops -ftree-loop-vectorize options

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 22 08:11:20 GMT 2021


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

--- Comment #32 from Richard Biener <rguenth at gcc dot gnu.org> ---
Testcase from PR101501

/* { dg-do run } */

unsigned char ag = 55;
unsigned i;
int main()
{
  unsigned char c;
  unsigned char a = ag;
d:
  c = a-- * 52;
  if (c)
    goto d;
  if (a != 255)
    __builtin_abort ();
  return 0;
}


More information about the Gcc-bugs mailing list