Debian Codegraph @

gcc/testsuite/gcc.dg/vect/fast-math-pr43074.c

raw
1 /* { dg-do compile } */
2 /* { dg-additional-options "-ffast-math" } */
3
4 float
5 pvslockprocess(float *fout, float *fin, int framesize)
6 {
7 int i;
8 float mag=0.0f, diff;
9 for (i = 0; i < framesize; i += 2) {
10 mag += fin[i];
11 fout[i] = fin[i];
12 fout[i+1] = fin[i+1];
13 }
14 return mag;
15 }
16