OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR tree-optimization/51246
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr48929.c
1
/*{ dg-options "-O -findirect-inlining" }*/
2
void bar ();
3
4
static void
5
f4 (double di, double d, double *dd)
6
{
7
if (d == 0 && di == 0)
8
*dd = 0;
9
bar ();
10
}
11
12
static inline void
13
f3 (int i, double d)
14
{
15
double di = i;
16
double dd;
17
f4 (di, d, &dd);
18
}
19
20
static inline void
21
f2 (int i, double d)
22
{
23
if (d < 0)
24
f3 (i, d);
25
}
26
27
void
28
f1 ()
29
{
30
f2 (0, 1);
31
}
32