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
2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
20040311-2.c
blob
9dfbb9947a3d72bb098a4c2b3e262eacab2942a1
1
/* PR target/14533 */
2
/* { dg-do compile { target fpic } } */
3
/* { dg-options "-O2 -fpic" } */
4
5
void
bar
(
char
*,
int
);
6
7
extern
char
b
[];
8
extern
int
d
,
e
;
9
struct
S
10
{
11
struct
S
*
m
;
12
int
n
;
13
} **
g
;
14
15
void
16
foo
(
int
x
,
char
*
y
)
17
{
18
struct
S
*
h
;
19
int
k
=
1
,
l
;
20
21
again
:
22
for
(
h
= *
g
;
h
!= (
struct
S
*)
g
;
h
=
h
->
m
)
23
{
24
if
(
k
==
0
&&
h
->
n
&
0x100000
);
25
l
=
y
-
b
;
26
if
(
e
)
27
bar
(
b
,
l
);
28
if
(
d
)
29
bar
(
b
,
l
);
30
}
31
if
(
k
)
32
{
33
k
=
0
;
34
goto
again
;
35
}
36
}