2 ! { dg-options "-std=legacy" }
9 integer :: i
, j
, k
, a(1:3, 4:6, 5:7)
13 !$omp parallel do collapse(4 - 1) schedule(static, 4)
17 a(i
, j
, k
) = i
+ j
+ k
19 !$omp parallel do collapse(2) reduction(.or.:l)
23 if (a(i
, j
, k
) .ne
. (i
+ j
+ k
)) l
= .true
.
32 integer :: a(3,3,3), k
, kk
, kkk
, l
, ll
, lll
41 if (any(a(1:3,1:3,1:3).ne
.1)) STOP 2
51 if (any(a(1:3,1:3,1:3).ne
.2)) STOP 3