projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 4.8.1
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
gcc.target
/
m68k
/
pic-1.c
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
}