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