Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/stabilize-5116.115.B
/
.
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr52969.c
blob: 05331d93f34e9cba4f23a2c494ed1396af837b28 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-ftree-loop-if-convert-stores" } */
int
a
,
b
;
float
xsum
[
100
];
void
foo
(
float
*
cluster
)
{
int
j
;
for
(;
a
;
++
j
)
{
xsum
[
j
]
=
cluster
[
j
];
if
(
xsum
[
j
]
>
0
)
xsum
[
j
]
=
0
;
}
if
(
xsum
[
0
])
b
=
0
;
}