1 /* { dg-do compile } */ 2 /* { dg-additional-options "-O2" } */ 3 4 #define N 1024 5 int a[N], b[N], c[N], d[N]; 6 7 void foo(void)8foo (void) 9 { 10 int i; 11 #pragma omp simd nontemporal (a, b) 12 for (i = 0; i < N; ++i) 13 a[i] = b[i] + c[i]; 14 #pragma omp simd nontemporal (d) 15 for (i = 0; i < N; ++i) 16 d[i] = 2 * c[i]; 17 } 18