| 1 |
subroutine test1(i) |
| 2 |
implicit none |
| 3 |
integer :: i |
| 4 |
!$omp unroll |
| 5 |
!$omp unroll full ! { dg-error "Generated loop of UNROLL construct at \\\(1\\\) without PARTIAL clause does not have canonical form" } |
| 6 |
do i = 1,10 |
| 7 |
call dummy(i) |
| 8 |
end do |
| 9 |
end subroutine test1 |
| 10 |
|
| 11 |
subroutine test2(i) |
| 12 |
implicit none |
| 13 |
integer :: i |
| 14 |
!$omp unroll full |
| 15 |
!$omp unroll full ! { dg-error "Generated loop of UNROLL construct at \\\(1\\\) without PARTIAL clause does not have canonical form" } |
| 16 |
!$omp unroll ! { dg-error "Generated loop of UNROLL construct at \\\(1\\\) without PARTIAL clause does not have canonical form" } |
| 17 |
do i = 1,10 |
| 18 |
call dummy(i) |
| 19 |
end do |
| 20 |
end subroutine test2 |
| 21 |
|
| 22 |
subroutine test3(i) |
| 23 |
implicit none |
| 24 |
integer :: i |
| 25 |
!$omp unroll full |
| 26 |
!$omp unroll ! { dg-error "Generated loop of UNROLL construct at \\\(1\\\) without PARTIAL clause does not have canonical form" } |
| 27 |
!$omp unroll full ! { dg-error "Generated loop of UNROLL construct at \\\(1\\\) without PARTIAL clause does not have canonical form" } |
| 28 |
!$omp unroll ! { dg-error "Generated loop of UNROLL construct at \\\(1\\\) without PARTIAL clause does not have canonical form" } |
| 29 |
do i = 1,10 |
| 30 |
call dummy(i) |
| 31 |
end do |
| 32 |
end subroutine test3 |
| 33 |
|
| 34 |
subroutine test4(i) |
| 35 |
implicit none |
| 36 |
integer :: i |
| 37 |
!$omp do |
| 38 |
!$omp unroll full ! { dg-error "Generated loop of UNROLL construct at \\\(1\\\) without PARTIAL clause does not have canonical form" } |
| 39 |
do i = 1,10 |
| 40 |
call dummy(i) |
| 41 |
end do |
| 42 |
end subroutine test4 |
| 43 |
|
| 44 |
subroutine test5(i) |
| 45 |
implicit none |
| 46 |
integer :: i |
| 47 |
!$omp do |
| 48 |
!$omp unroll full ! { dg-error "Generated loop of UNROLL construct at \\\(1\\\) without PARTIAL clause does not have canonical form" } |
| 49 |
!$omp unroll ! { dg-error "Generated loop of UNROLL construct at \\\(1\\\) without PARTIAL clause does not have canonical form" } |
| 50 |
do i = 1,10 |
| 51 |
call dummy(i) |
| 52 |
end do |
| 53 |
end subroutine test5 |
| 54 |
|
| 55 |
subroutine test6(i) |
| 56 |
implicit none |
| 57 |
integer :: i |
| 58 |
!$omp do |
| 59 |
!$omp unroll full ! { dg-error "Generated loop of UNROLL construct at \\\(1\\\) without PARTIAL clause does not have canonical form" } |
| 60 |
!$omp unroll ! { dg-error "Generated loop of UNROLL construct at \\\(1\\\) without PARTIAL clause does not have canonical form" } |
| 61 |
do i = 1,10 |
| 62 |
call dummy(i) |
| 63 |
end do |
| 64 |
end subroutine test6 |
| 65 |
|
| 66 |
subroutine test7(i) |
| 67 |
implicit none |
| 68 |
integer :: i |
| 69 |
!$omp loop |
| 70 |
!$omp unroll full ! { dg-error "Generated loop of UNROLL construct at \\\(1\\\) without PARTIAL clause does not have canonical form" } |
| 71 |
!$omp unroll ! { dg-error "Generated loop of UNROLL construct at \\\(1\\\) without PARTIAL clause does not have canonical form" } |
| 72 |
do i = 1,10 |
| 73 |
call dummy(i) |
| 74 |
end do |
| 75 |
end subroutine test7 |