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
PR inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
m68k
/
pic-1.c
blob
b8d3fe81aea21cbce579ca26a89f76fdd8957178
1
/* { dg-do compile { target m68k-*-* fido-*-* } } */
2
/* { dg-options "-O2 -fpic" } */
3
4
extern
void
Foo
(
void
*);
5
6
char
*
ary
[] = {
"a"
,
"b"
,
"c"
,
"d"
,
"e"
};
7
8
void
Bar
(
void
)
9
{
10
int
cnt
=
0
;
11
12
for
(
cnt
=
0
;
cnt
<
4
; ++
cnt
)
13
{
14
char
*
ptr
=
ary
[
cnt
];
15
16
Foo
(&
ptr
);
17
}
18
}