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
/
tree-ssa
/
loopclosedphi.c
blob
0a8a4174f5fe0e5f5075f3cd78cf5e85e1105e6a
1
/* { dg-do compile } */
2
/* { dg-options "-O3 -fno-tree-ch -fno-unswitch-loops -w -fdump-tree-loopdone-details" } */
3
4
void
5
t6
(
int
qz
,
int
wh
)
6
{
7
int
jl
=
wh
;
8
9
while
(
1.0
*
qz
/
wh
<
1
)
10
{
11
qz
=
wh
* (
wh
+
2
);
12
13
while
(
wh
<
1
)
14
jl
=
0
;
15
}
16
17
while
(
qz
<
1
)
18
qz
=
jl
*
wh
;
19
}
20
21
/* { dg-final { scan-tree-dump-times "Replacing" 3 "loopdone"} } */