1 2 3 4 5 6 7 8 9 10
/* { dg-do compile } */ int thr; #pragma omp threadprivate (thr) int foo () { int l; #pragma omp parallel copyin (thr) reduction (||:l) ; }