Debian Codegraph @

gcc/testsuite/gfortran.dg/gomp/masked-taskloop.f90

raw
1 ! { dg-do compile }
2 ! { dg-additional-options "-fopenmp -fdump-tree-original" }
3
4 ! There was a bug in the clause splitting for the "masked taskloop"
5 ! combined directive that caused it to lose all the clauses.
6
7 subroutine s1 (a1, a2)
8 integer :: a1, a2
9 integer :: i, j
10
11 !$omp masked taskloop collapse(2) grainsize(4)
12 do i = 1, a1
13 do j = 1, a2
14 end do
15 end do
16
17 end subroutine
18
19 ! { dg-final { scan-tree-dump "omp taskloop \[^\n\r]*grainsize\\(4\\)" "original" } }
20 ! { dg-final { scan-tree-dump "omp taskloop \[^\n\r]*collapse\\(2\\)" "original" } }