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