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
/
20081118_0.c
blob
b37eb31a46db1177e1bd2f45cde15f9803e7831c
1
/* { dg-lto-options {{-O2 -DOPTIMIZE -flto -flto-partition=1to1} {-O0 -flto -flto-partition=1to1}} } */
2
3
extern
void
abort
(
void
);
4
extern
int
f
(
void
);
5
6
extern inline
int
7
e_inline_baz
(
void
)
8
{
9
return
1
+
f
();
10
}
11
12
int
13
bar
(
void
)
14
{
15
return
e_inline_baz
();
16
}
17
18
main
()
19
{
20
#ifdef OPTIMIZE
21
if
(
bar
() !=
2
||
foo
() !=
3
)
22
abort
();
23
#else
24
if
(
bar
() !=
0
||
foo
() !=
0
)
25
abort
();
26
#endif
27
return
0
;
28
}