(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
execute/
pr79450.c
       1  /* PR rtl-optimization/79450 */
       2  
       3  unsigned int
       4  foo (unsigned char x, unsigned long long y)
       5  {
       6    do
       7      {
       8        x &= !y;
       9        x %= 24;
      10      }
      11    while (x < y);
      12    return x + y;
      13  }
      14  
      15  int
      16  main (void)
      17  {
      18    unsigned int x = foo (1, 0);
      19    if (x != 1)
      20      __builtin_abort ();
      21    return 0;
      22  }