Closed
Description
This is another instance where the presence of unstructured code in OpenMP regions leads to failure.
Error
error: loc("fname.f90":10:3): operation with block successors must terminate its parent block
Program
subroutine sb(ninter, numnod)
integer :: ninter, numnod
integer, dimension(:), allocatable :: indx_nm
!$omp parallel
if (ninter>0) then
allocate( indx_nm(numnod) )
endif
220 continue
goto 220
!$omp end parallel
end subroutine