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/56980
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
ipa
/
inlinehint-1.c
blob
1cc5bdd0c0732599ce781ea70594655bc2a2faa0
1
/* { dg-options "-O3 -c -fdump-ipa-inline-details -fno-early-inlining -fno-ipa-cp" } */
2
void
test2
(
int
);
3
int
4
test
(
int
a
)
5
{
6
int
i
;
7
for
(
i
=
0
;
i
<
a
;
i
++)
8
{
9
test2
(
a
);
10
test2
(
a
);
11
}
12
}
13
int
14
m
()
15
{
16
test
(
10
);
17
}
18
/* { dg-final { scan-ipa-dump "loop_iterations" "inline" } } */
19
/* { dg-final { cleanup-ipa-dump "inline" } } */