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
IVOPT performance tuning patch. The main problem is a variant of maximal weight
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr24820.c
blob
0482ca3211805a665fdb887d2cffcd2faf3ef119
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -ffast-math" } */
3
4
double
floor
(
double
);
5
double
bar
(
double
sum
)
6
{
7
int
i
;
8
for
(
i
=
0
;
i
<
256
;
i
++)
9
sum
+=
floor
(
0.5
+ (
i
-
128
));
10
return
sum
;
11
}
12