Debian Codegraph @

flang/test/Semantics/OpenMP/parallel-critical-do.f90

raw
1 ! RUN: %python %S/../test_symbols.py %s %flang_fc1 -fopenmp
2
3 ! Check that loop iteration variables are private and predetermined, even when
4 ! nested inside parallel/critical constructs.
5
6 !DEF: /test1 (Subroutine) Subprogram
7 subroutine test1
8 !DEF: /test1/i ObjectEntity INTEGER(4)
9 integer i
10
11 !$omp parallel default(none)
12 !$omp critical
13 !DEF: /test1/OtherConstruct1/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
14 do i = 1, 10
15 end do
16 !$omp end critical
17 !$omp end parallel
18 end subroutine