]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/c-c++-common/gomp/nontemporal-2.c
1 /* { dg-do compile } */
4 extern int a
[N
], b
[N
], c
[N
], d
[N
];
10 #pragma omp simd nontemporal (a, b) aligned (a, b, c)
11 for (i
= 0; i
< N
; ++i
)
13 #pragma omp simd nontemporal (d) nontemporal (d) /* { dg-error "'d' appears more than once in 'nontemporal' clauses" } */
14 for (i
= 0; i
< N
; ++i
)
16 #pragma omp simd nontemporal (a, b, b) /* { dg-error "'b' appears more than once in 'nontemporal' clauses" } */
17 for (i
= 0; i
< N
; ++i
)