1 /* PR rtl-optimization/51767 */ 2 3 extern void fn1 (void), fn2 (void); 4 5 static inline __attribute__((always_inline)) int foo(int * x,long y)6foo (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 bar(int * x)15bar (int *x) 16 { 17 if (foo (x, 23)) 18 fn1 (); 19 else 20 fn2 (); 21 22 foo (x, 2); 23 } 24