1 /* PR tree-optimization/91033 */
2 /* { dg-do compile { target pthread } } */
3 /* { dg-options "-march=knl -O2 -fopenmp-simd -ftree-parallelize-loops=2" } */
4 
5 #define N 1024
6 int a[N];
7 
8 void
foo(void)9 foo (void)
10 {
11   int i;
12   #pragma omp simd simdlen (4)
13   for (i = 0; i < N; ++i)
14     a[i] = a[i] + 1;
15 }
16