repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
gcc.dg
/
lto
/
20090219_0.c
blob
81a93e6da53ff23d1232ec09174518bd2d9ea337
1
/* { dg-lto-do link } */
2
/* { dg-lto-options {{-O3 -flto -flto-partition=1to1 -fPIC -r -nostdlib}} } */
3
4
struct
Foo
{
int
f1
,
f2
,
f3
,
f4
,
f5
; };
5
6
int
x
=
0
;
7
struct
Foo
*
foo
;
8
9
inline
void
Bar
(
int
n
){
10
foo
[
x
].
f1
=
0
;
11
foo
[
x
].
f2
=
0
;
12
foo
[
x
].
f3
=
0
;
13
foo
[
x
].
f4
=
0
;
14
foo
[
x
].
f5
=
n
;
15
}
16
17
int
ei
[
1
];
18
inline
void
Baz
(
int
n
) {
19
if
(
ei
[
n
] ==
1
)
20
Bar
(
0
);
21
else if
(
ei
[
n
] ==
0
)
22
Bar
(
1
);
23
}
24
25
void
mumble
(
void
) {
26
for
(;;)
27
Baz
(
0
);
28
}