repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
RISC-V: Fix out of index in riscv_select_multilib_by_abi
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.fortran
/
appendix-a
/
a.21.1.f90
blob
c22fa116927b9cdfa552a29c4548f86bd4dd7cb8
1
! { dg-do compile }
2
SUBROUTINE
WORK
(
K
)
3
INTEGER
k
4
!$OMP ORDERED
5
WRITE
(*,*)
K
6
!$OMP END ORDERED
7
END SUBROUTINE
WORK
8
SUBROUTINE
SUBA21
(
LB
,
UB
,
STRIDE
)
9
INTEGER
LB
,
UB
,
STRIDE
10
INTEGER
I
11
!$OMP PARALLEL DO ORDERED SCHEDULE(DYNAMIC)
12
DO
I
=
LB
,
UB
,
STRIDE
13
CALL
WORK
(
I
)
14
END DO
15
!$OMP END PARALLEL DO
16
END SUBROUTINE
SUBA21
17
PROGRAM
A21
18
CALL
SUBA21
(
1
,
100
,
5
)
19
END PROGRAM
A21