tree-optimization/113385 - wrong loop father with early exit vectorization
[official-gcc.git] / gcc / testsuite / gfortran.dg / gomp / target3.f90
blobd968e54453d521416e9d0eef7ab5983cb0f4e9b1
1 ! { dg-do compile }
3 subroutine foo (r)
4 integer :: i, r
5 !$omp target
6 !$omp target teams distribute parallel do reduction (+: r) ! { dg-warning ".target. construct inside of .target. region" }
7 do i = 1, 10
8 r = r + 1
9 end do
10 !$omp end target
11 end subroutine