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
2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
ipa-split-1.c
blob
ed7b480061515e42af58a52d10b7e5e918e30245
1
/* { dg-do compile } */
2
/* { dg-options "-O3 -fdump-tree-fnsplit" } */
3
4
void
do_something_big
(
void
);
5
6
int
test2
(
int
a
)
7
{
8
if
(
a
<
100
)
9
return
1
;
10
do_something_big
();
11
do_something_big
();
12
do_something_big
();
13
do_something_big
();
14
do_something_big
();
15
do_something_big
();
16
do_something_big
();
17
do_something_big
();
18
do_something_big
();
19
do_something_big
();
20
do_something_big
();
21
do_something_big
();
22
do_something_big
();
23
return
0
;
24
}
25
26
void
27
test
()
28
{
29
test2
(
10
);
30
test2
(
20
);
31
}
32
/* { dg-final { scan-tree-dump-times "Splitting function" 1 "fnsplit"} } */