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