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
Merge reload-branch up to revision 101000
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
20030120-1.c
blob
05689ad0961a407fa121c04d1309fdf92fc5b84d
1
/* PR 7154 */
2
/* { dg-do compile } */
3
/* { dg-options "-O -fpic" } */
4
/* { dg-warning "not supported" "PIC unsupported" { target cris-*-elf* mmix-*-* } 0 } */
5
6
const int
x
[
1
]={
1
};
7
void
foo
(
int
i
,
int
*
p
)
8
{
9
asm
volatile
(
""
:
"+r"
(
i
) :
"m"
(
x
[
0
]),
"r"
(
p
));
10
}