PR tree-optimization/84740
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-118.c
blob01ae828bd191ae010946a4fcacdaf182bae74ea4
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" } } */