You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: flang/test/Semantics/OpenMP/scan.f90
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
subroutinetest_scan()
4
4
integer x, y, k, z
5
5
6
-
!ERROR: Orphaned `omp scan` directives are prohibited; perhaps you forgot to enclose the directive in to a worksharing loop, a worksharing loop simd or a simd directive.
6
+
!ERROR: Orphaned SCAN directives are prohibited; perhaps you forgot to enclose the directive in to a WORKSHARING LOOP, a WORKSHARING LOOP SIMD or a SIMD directive.
7
7
!$omp scan inclusive(x)
8
8
!$omp parallel do simd
9
9
do k =1, n
@@ -13,21 +13,21 @@ subroutine test_scan()
13
13
14
14
!$omp parallel do simd
15
15
do k =1, n
16
-
!ERROR: Exactly one of `exclusive` or `inclusive` clause is expected
16
+
!ERROR: Exactly one of EXCLUSIVE or INCLUSIVE clause is expected
17
17
!$omp scan
18
18
end do
19
19
20
20
!$omp parallel do simd reduction(inscan,+: x, y)
21
21
do k =1, n
22
-
!ERROR: Exactly one of `exclusive` or `inclusive` clause is expected
22
+
!ERROR: Exactly one of EXCLUSIVE or INCLUSIVE clause is expected
23
23
!$omp scan inclusive(x) exclusive(y)
24
24
end do
25
25
26
-
!ERROR: List item y must appear in 'inclusive' or 'exclusive' clause of an enclosed scan directive
26
+
!ERROR: List item y must appear in EXCLUSIVE or INCLUSIVE clause of an enclosed SCAN directive
27
27
!$omp parallel do simd reduction(inscan,+: x, y)
28
28
do k =1, n
29
-
!ERROR: Exactly one of `exclusive` or `inclusive` clause is expected
30
-
!ERROR: List item z must appear in 'reduction' clause with the 'inscan' modifier of the parent directive
29
+
!ERROR: Exactly one of EXCLUSIVE or INCLUSIVE clause is expected
30
+
!ERROR: List item z must appear in REDUCTION clause with the INSCAN modifier of the parent directive
0 commit comments