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
PR c++/37276
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr51519.c
blob
3d5d3f24396118f8b26cfd168d043e79bed8f4ba
1
/* { dg-do compile } */
2
/* { dg-options "-O -fno-guess-branch-probability -findirect-inlining" } */
3
4
void
fe
(
void
);
5
int
i
;
6
7
static
inline
void
8
FX
(
void
(*
f
) (
void
))
9
{
10
fe
();
11
(*
f
) ();
12
}
13
14
static
inline
void
15
f4
()
16
{
17
if
(
i
)
18
FX
(
fe
);
19
}
20
21
static
inline
void
22
f3
(
void
)
23
{
24
f4
();
25
if
(
i
)
26
FX
(
f4
);
27
}
28
29
static
inline
void
30
f2
(
void
)
31
{
32
FX
(&
f3
);
33
}
34
35
void
36
f1
(
void
)
37
{
38
FX
(&
f2
);
39
}