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
PR tree-optimization/84740
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
fast-math-pr43074.c
blob
b3e9884e9ebfbf7cfae0e39526e6fc4645c5b7df
1
/* { dg-do compile } */
2
3
float
4
pvslockprocess
(
float
*
fout
,
float
*
fin
,
int
framesize
)
5
{
6
int
i
;
7
float
mag
=
0.0
f
,
diff
;
8
for
(
i
=
0
;
i
<
framesize
;
i
+=
2
) {
9
mag
+=
fin
[
i
];
10
fout
[
i
] =
fin
[
i
];
11
fout
[
i
+
1
] =
fin
[
i
+
1
];
12
}
13
return
mag
;
14
}
15