Add compile command to each testcase
[gcc-vect-testsuite.git] / pr36630.c
blob2253f7574b85b591bd9318403797c0fce3bbd8a9
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
4 void
5 foo (unsigned char *x, short y)
7 short i;
9 i = 2;
10 while (i < y)
12 x[i - 1] = x[i];
13 i = i + 1;
16 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
17 /* { dg-final { cleanup-tree-dump "vect" } } */