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

     1  /* PR optimization/12260.  */
     2  
     3  extern int f(void);
     4  extern int g(int);
     5  
     6  static char buf[512];
     7  void h(int l) {
     8      while (l) {
     9          char *op = buf;
    10          if (f() == 0)
    11              break;
    12          if (g(op - buf + 1))
    13              break;
    14      }
    15  }