Add compile command to each testcase
[gcc-vect-testsuite.git] / vect-118.c
blobbc08e9108a5e72991e39391726e0db193d4627d9
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
4 void f(short * __restrict__ a, short * __restrict__ b, short * __restrict__ x)
6 int i;
7 for (i=0;i<1024;i++)
8 x[i] = a[i] + b[i];
11 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
12 /* { dg-final { cleanup-tree-dump "vect" } } */