Add compile command to each testcase
[gcc-vect-testsuite.git] / vect-121.c
blob9071836c558324b164662a414fda33dca073dd39
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_float } */
4 float *x;
5 float parm;
6 float
7 test (int start, int end)
9 int i;
10 for (i = start; i < end; ++i)
12 float tem = x[i];
13 x[i] = parm * tem;
17 /* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" } } */
18 /* { dg-final { cleanup-tree-dump "vect" } } */