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

     1  long a, c;
     2  int b;
     3  int d;
     4  void ut_dbg_assertion_failed() __attribute__((noreturn));
     5  long dict_index_is_spatial(int *);
     6  void btr_block_get_func(char *);
     7  long btr_page_get_level_low(unsigned char *);
     8  void btr_validate_level(long p1) {
     9    unsigned char *e;
    10    while (p1 != btr_page_get_level_low(e)) {
    11      if (__builtin_expect(b, 0))
    12        ut_dbg_assertion_failed();
    13      if (dict_index_is_spatial(&d))
    14        while (c != 5535) {
    15          __sync_add_and_fetch(&a, 536870912);
    16          btr_block_get_func("");
    17        }
    18    }
    19    for (long i; i; ++i)
    20      btr_validate_level(-i);
    21  }