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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
ipa
/
inline-9.c
blob
347ad55fb4e2ef43beeed7c434aaab247ceb55f3
1
/* { dg-options "-Os -fdump-ipa-inline-details" } */
2
int
foo
(
void
);
3
int
test
(
int
a
)
4
{
5
if
(
a
>
100
)
6
{
7
foo
();
8
foo
();
9
foo
();
10
foo
();
11
foo
();
12
foo
();
13
foo
();
14
foo
();
15
}
16
}
17
int
18
main
()
19
{
20
for
(
int
i
=
0
;
i
<
100
;
i
++)
21
test
(
i
);
22
}
23
/* { dg-final { scan-ipa-dump "Inlined 2 calls" "inline" } } */