Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/compile/20110902.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
static inline __attribute__((always_inline)) int f (unsigned int n, unsigned int size) { return (__builtin_constant_p (size != 0 && n > ~0 / size) ? !!(size != 0 && n > ~0 / size) : ({ static unsigned int count[2] = { 0, 0 }; int r = !!(size != 0 && n > ~0 / size); count[r]++; r; })); } int g (unsigned int size) { return f (size / 4096, 4); }