2 /* { dg-options "-O2" } */
3 /* { dg-require-effective-target tls_runtime } */
9 #pragma omp threadprivate (thr)
17 omp_set_num_threads (6);
19 #pragma omp parallel copyin (thr) reduction (||:l)
22 thr = omp_get_thread_num () + 11;
28 #pragma omp parallel reduction (||:l)
29 l = thr != omp_get_thread_num () + 11;