repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr23391.c
blob
a5effbb15aa9cc75f751b5ddc1bc5090f3509952
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
void
5
foo
(
int
N
)
6
{
7
int
C
;
8
double
R
;
9
10
R
=
0.0
;
11
do
12
{
13
R
+=
0.001
;
14
C
= (
int
) (
R
*
N
);
15
if
(-
R
*
N
<=
R
*
N
)
16
{
17
C
++;
18
}
19
}
20
while
(
C
<
0
);
21
22
return
;
23
}