Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr84941.c
blob: a3a4fdcbb24dd7ebcccb739c572850d8eb6da0e1 [
file
] [
log
] [
blame
]
/* PR inline-asm/84941 */
/* { dg-do compile } */
/* { dg-skip-if "asm operand has impossible constraints" { hppa*-*-* } } */
/* { dg-options "-O2" } */
void
foo
(
void
)
{
short
*
b
[
1
]
=
{
0
};
asm
volatile
(
""
:
"=m,m"
(
b
),
"=r,r"
(
b
)
:
"1,p"
(
b
));
}