2 #pragma omp threadprivate(t)
8 #pragma omp simd order(concurrent) /* { dg-message "note: enclosing region" } */
9 for (i
= 0; i
< 64; i
++)
10 t
++; /* { dg-error "threadprivate variable 't' used in a region with 'order\\(concurrent\\)' clause" } */
17 #pragma omp for simd order(concurrent) /* { dg-message "note: enclosing region" } */
18 for (i
= 0; i
< 64; i
++) /* { dg-message "note: enclosing region" "" { target c++ } } */
19 t
++; /* { dg-error "threadprivate variable 't' used in a region with 'order\\(concurrent\\)' clause" } */
26 #pragma omp for order(concurrent) /* { dg-message "note: enclosing region" } */
27 for (i
= 0; i
< 64; i
++)
28 t
++; /* { dg-error "threadprivate variable 't' used in a region with 'order\\(concurrent\\)' clause" } */