2 ! { dg-options "-O -fopenmp -fdump-tree-omplower" }
4 subroutine foo (i
, j
, k
, s
, a
)
5 integer :: i
, j
, k
, s
, a(100), l
6 !$omp parallel do schedule (dynamic, s * 2)
9 !$omp parallel do schedule (dynamic, s * 2)
14 subroutine bar (i
, j
, k
, s
, a
)
15 integer :: i
, j
, k
, s
, a(100), l
16 !$omp parallel do schedule (guided, s * 2)
19 !$omp parallel do schedule (guided, s * 2)
24 ! { dg-final { scan-tree-dump-times "GOMP_parallel_loop_dynamic_start" 2 "omplower" { xfail *-*-* } } }
25 ! { dg-final { scan-tree-dump-times "GOMP_parallel_loop_guided_start" 2 "omplower" { xfail *-*-* } } }
26 ! { dg-final { cleanup-tree-dump "omplower" } }