Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
07db158720e1c276cc3a5c0d9aad2989aea3b28d
/
.
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr23391.c
blob: a5effbb15aa9cc75f751b5ddc1bc5090f3509952 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2" } */
void
foo
(
int
N
)
{
int
C
;
double
R
;
R
=
0.0
;
do
{
R
+=
0.001
;
C
=
(
int
)
(
R
*
N
);
if
(-
R
*
N
<=
R
*
N
)
{
C
++;
}
}
while
(
C
<
0
);
return
;
}