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

     1  static inline __attribute__((always_inline)) int f (unsigned int n, unsigned int size)
     2  {
     3   return (__builtin_constant_p (size != 0 && n > ~0 / size)
     4           ? !!(size != 0 && n > ~0 / size)
     5           : ({ static unsigned int count[2] = { 0, 0 };
     6                int r = !!(size != 0 && n > ~0 / size);
     7                count[r]++;
     8                r; }));
     9  }
    10  
    11  int g (unsigned int size)
    12  {
    13   return f (size / 4096, 4);
    14  }