tree-optimization/113385 - wrong loop father with early exit vectorization
[official-gcc.git] / gcc / testsuite / gfortran.dg / gomp / pr44536.f90
blobc1d83cdeae517899946499fe39b01e0e126c66f8
1 ! PR fortran/44536
2 ! { dg-do compile }
3 ! { dg-options "-fopenmp" }
4 subroutine foo (a, i, j)
5 integer, dimension(:) :: a
6 integer :: i, j
7 !$omp parallel default(none) shared(i, j) ! { dg-message "note: enclosing 'parallel'" }
8 j=a(i) ! { dg-error "not specified in" }
9 !$omp end parallel
10 end subroutine