modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/pr79450.c (about)

     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  }