2 ! { dg-options "-fopenmp -fcray-pointer" }
5 integer :: a
, b
, c
, i
, p
14 !$omp parallel num_threads (2) reduction (.or.:l) firstprivate (ip)
17 if (omp_get_thread_num () .eq
. 1) ip
= loc (c
)
18 l
= l
.or
. (p
.ne
. (2 + omp_get_thread_num ()))
25 !$omp parallel do num_threads (2) reduction (.or.:l) &
26 !$omp & firstprivate (ip) lastprivate (ip)
30 if (i
.eq
. 1) ip
= loc (c
)
31 l
= l
.or
. (p
.ne
. (2 + i
))
35 if (p
.ne
. 3) call abort