Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.dg
/
20030120-1.c
blob: 2d3e2ce658314e1dead3afba7bd4a143040905ca [
file
] [
log
] [
blame
]
/* PR 7154 */
/* { dg-do compile { target fpic } } */
/* { dg-options "-O -fpic" } */
const
int
x
[
1
]={
1
};
void
foo
(
int
i
,
int
*
p
)
{
asm
volatile
(
""
:
"+r"
(
i
)
:
"m"
(
x
[
0
]),
"r"
(
p
));
}