tree-optimization/113385 - wrong loop father with early exit vectorization
[official-gcc.git] / gcc / testsuite / gfortran.dg / gomp / pr89621.f90
blob24ac18c061b74bc32f1fc1451ce5797e981fe208
1 ! PR middle-end/89621
2 ! { dg-do compile }
4 subroutine sub(str)
5 character(*), intent(in) :: str
6 end subroutine sub
8 program pr89621
9 implicit none
10 integer i
11 character(len=:), allocatable :: str
12 str = "test"
13 !$omp parallel do
14 do i = 1, 10
15 call sub(str)
16 enddo
17 !$omp end parallel do
18 end program pr89621