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
2015-09-24 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr52969.c
blob
05331d93f34e9cba4f23a2c494ed1396af837b28
1
/* { dg-do compile } */
2
/* { dg-options "-ftree-loop-if-convert-stores" } */
3
4
int
a
,
b
;
5
float
xsum
[
100
];
6
void
foo
(
float
*
cluster
)
7
{
8
int
j
;
9
for
(;
a
; ++
j
) {
10
xsum
[
j
] =
cluster
[
j
];
11
if
(
xsum
[
j
] >
0
)
12
xsum
[
j
] =
0
;
13
}
14
if
(
xsum
[
0
])
15
b
=
0
;
16
}