File tree Expand file tree Collapse file tree 6 files changed +17
-17
lines changed
flang/test/Semantics/OpenMP Expand file tree Collapse file tree 6 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 33! 2.7.1 Schedule Clause
44! Test that does not catch non constant integer expressions like xx - xx.
55 ! DEF: /OMPDOSCHEDULE MainProgram
6- program ompdoschedule
6+ program OMPDOSCHEDULE
77 ! DEF: /OMPDOSCHEDULE/a ObjectEntity REAL(4)
88 ! DEF: /OMPDOSCHEDULE/y ObjectEntity REAL(4)
99 ! DEF: /OMPDOSCHEDULE/z ObjectEntity REAL(4)
@@ -25,4 +25,4 @@ program ompdoschedule
2525 y(i) = z(i-1 ) + a(i)
2626 end do
2727 ! $omp end do
28- end program ompdoschedule
28+ end program OMPDOSCHEDULE
Original file line number Diff line number Diff line change 55! A positive case
66
77! DEF: /OMP_DO MainProgram
8- program omp_do
8+ program OMP_DO
99 ! DEF: /OMP_DO/i ObjectEntity INTEGER(4)
1010 integer i
1111
@@ -16,4 +16,4 @@ program omp_do
1616 end do
1717 ! $omp end do
1818
19- end program omp_do
19+ end program OMP_DO
Original file line number Diff line number Diff line change 33! 2.7.1 Do Loop Constructs
44
55! DEF: /OMP_DO1 MainProgram
6- program omp_do1
6+ program OMP_DO1
77 ! DEF: /OMP_DO1/i ObjectEntity INTEGER(4)
88 ! DEF: /OMP_DO1/j ObjectEntity INTEGER(4)
99 ! DEF: /OMP_DO1/k (OmpThreadprivate) ObjectEntity INTEGER(4)
@@ -19,4 +19,4 @@ program omp_do1
1919 end do
2020 end do
2121 ! $omp end do
22- end program omp_do1
22+ end program OMP_DO1
Original file line number Diff line number Diff line change 44! A positive case
55
66! DEF: /OMP_DO MainProgram
7- program omp_do
7+ program OMP_DO
88 ! DEF: /OMP_DO/i ObjectEntity INTEGER(4)
99 ! DEF: /OMP_DO/n ObjectEntity INTEGER(4)
1010 integer i,n
@@ -71,4 +71,4 @@ program omp_do
7171 ! REF: /OMP_DO/OtherConstruct7/i
7272 if (i < 5 ) cycle
7373 end do
74- end program omp_do
74+ end program OMP_DO
Original file line number Diff line number Diff line change 66
77! A positive case
88! DEF: /OMP_DO MainProgram
9- program omp_do
9+ program OMP_DO
1010 ! DEF: /OMP_DO/i ObjectEntity INTEGER(4)
1111 ! DEF: /OMP_DO/j ObjectEntity INTEGER(4)
1212 ! DEF: /OMP_DO/k ObjectEntity INTEGER(4)
@@ -20,4 +20,4 @@ program omp_do
2020 ! $omp end ordered
2121 end do
2222 ! $omp end do
23- end program omp_do
23+ end program OMP_DO
Original file line number Diff line number Diff line change 33! 2.7.1 Do Loop Constructs
44
55! DEF: /OMP_DO MainProgram
6- program omp_do
6+ program OMP_DO
77 ! DEF: /OMP_DO/i ObjectEntity INTEGER(4)
88 ! DEF: /OMP_DO/j ObjectEntity INTEGER(4)
99 ! DEF: /OMP_DO/k ObjectEntity INTEGER(4)
@@ -19,17 +19,17 @@ program omp_do
1919 end do
2020 end do
2121 ! $omp end do
22- end program omp_do
22+ end program OMP_DO
2323
24- ! DEF: /OMP_DO2 (Subroutine)Subprogram
24+ ! DEF: /omp_do2 (Subroutine)Subprogram
2525subroutine omp_do2
26- ! DEF: /OMP_DO2 /i ObjectEntity INTEGER(4)
27- ! DEF: /OMP_DO2 /k ObjectEntity INTEGER(4)
26+ ! DEF: /omp_do2 /i ObjectEntity INTEGER(4)
27+ ! DEF: /omp_do2 /k ObjectEntity INTEGER(4)
2828 integer :: i = 0 , k
2929 ! $omp do
30- ! DEF: /OMP_DO2 /OtherConstruct1/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
30+ ! DEF: /omp_do2 /OtherConstruct1/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
3131 do i= 1 ,10
32- ! REF: /OMP_DO2 /OtherConstruct1/i
32+ ! REF: /omp_do2 /OtherConstruct1/i
3333 print * , " it" , i
3434 end do
3535 ! $omp end do
You can’t perform that action at this time.
0 commit comments