modernc.org/cc@v1.0.1/testdata/gcc-6.3.0/gcc/testsuite/gcc.c-torture/compile/20000922-1.c (about)

     1  extern void doit(int);
     2  void 
     3  quick_doit(int x)
     4  {
     5  #ifdef __OPTIMIZE__
     6    if (__builtin_constant_p (x)
     7        && x != 0)
     8      asm volatile ("%0" : : "i#*X"(x));
     9    else
    10  #endif
    11      doit(x);
    12  }