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
Tighten condition in vect/pr85586.c (PR 85654)
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr80903.c
blob
73d44b0dc4565649eb9235fca76b858001ad9ac4
1
/* PR rtl-optimization/80903 */
2
/* { dg-do compile } */
3
/* { dg-options "-O3 -funroll-loops" } */
4
5
short int
a
;
6
7
void
8
foo
(
int
x
,
short int
y
,
short int
z
)
9
{
10
if
(
y
!=
0
)
11
{
12
const short int
b
=
37
;
13
y
=
0
;
14
while
(
y
<
b
)
15
{
16
while
(
y
<
b
)
17
{
18
lab
:
19
++
y
;
20
}
21
for
(
y
=
0
;
y
<
b
-
1
; ++
y
)
22
;
23
if
(
z
!=
0
)
24
{
25
--
a
;
26
y
*=
a
;
27
}
28
z
=
x
;
29
}
30
x
=
0
;
31
}
32
33
goto
lab
;
34
}