modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr51767.c (about) 1 /* PR rtl-optimization/51767 */ 2 3 extern void fn1 (void), fn2 (void); 4 5 static inline __attribute__((always_inline)) int 6 foo (int *x, long y) 7 { 8 asm goto ("" : : "r" (x), "r" (y) : "memory" : lab); 9 return 0; 10 lab: 11 return 1; 12 } 13 14 void 15 bar (int *x) 16 { 17 if (foo (x, 23)) 18 fn1 (); 19 else 20 fn2 (); 21 22 foo (x, 2); 23 }