Sign in
gnu
/
gcc
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr97954.c
blob: 619bed3b40c39876d3abe658ce3809ddd4d17669 [
file
] [
log
] [
blame
]
/* PR rtl-optimization/97954 */
/* { dg-do compile { target asm_goto_with_outputs } } */
/* { dg-options "-O2" } */
int
foo
(
void
)
{
int
x
;
lab
:
asm
goto
(
""
:
"=r"
(
x
)
:
:
:
lab
);
return
x
;
}