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

     1  int owner();
     2  int clear();
     3  
     4  static void fixup() {
     5     clear();
     6  }
     7  
     8  inline __attribute__ ((always_inline))
     9  void slowtrylock(void) {
    10       if (owner())
    11           fixup();
    12  }
    13  
    14  void fasttrylock(void (*slowfn)()) {
    15       slowfn();
    16  }
    17  
    18  void trylock(void) {
    19       fasttrylock(slowtrylock);
    20  }