repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2008-01-25 Douglas Gregor <doug.gregor@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
20030120-1.c
blob
2d3e2ce658314e1dead3afba7bd4a143040905ca
1
/* PR 7154 */
2
/* { dg-do compile { target fpic } } */
3
/* { dg-options "-O -fpic" } */
4
5
const int
x
[
1
]={
1
};
6
void
foo
(
int
i
,
int
*
p
)
7
{
8
asm
volatile
(
""
:
"+r"
(
i
) :
"m"
(
x
[
0
]),
"r"
(
p
));
9
}