Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/pr98096.c

raw
1 /* Test for correct naming of label operands in asm goto in case of presence of
2 input/output operands. */
3 /* { dg-do compile { target asm_goto_with_outputs } } */
4 int i, j;
5 int f(void) {
6 asm goto ("# %0 %2" : "+r" (i) ::: jmp);
7 i += 2;
8 asm goto ("# %0 %1 %l[jmp]" : "+r" (i), "+r" (j) ::: jmp);
9 jmp: return i;
10 }