(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr102511.c
       1  // { dg-do run }
       2  // { dg-options "-O3" }
       3  
       4  char arr_15 [8];
       5  __attribute__((noipa))
       6  void test(signed char a, unsigned short b, unsigned long long c,
       7            unsigned short f) {
       8    for (int d = b - 8; d < b; d += 2)
       9      for (short e = 0; e < (unsigned short)((f ? 122 : 0) ^ (a ? c : 0)) - 64055;
      10           e += 3)
      11        arr_15[d] = 42;
      12  }
      13  int main() {
      14      test(37, 8, 12325048486467861044ULL, 45936);
      15      for (int i = 0; i < 8; ++i)
      16        {
      17          if (arr_15[i] != ((i&1) ? 0 : 42))
      18            __builtin_abort();
      19        }
      20    return 0;
      21  }