! { dg-do compile }SUBROUTINE A8(N,M,A,B,Y,Z)INTEGER N,MREAL A(*),B(*),Y(*),Z(*)INTEGER I!$OMP PARALLEL!$OMP DODO I=2,NB(I)=(A(I)+A(I-1))/2.0ENDDO!$OMP END DO NOWAIT!$OMP DODO I=1,MY(I)=SQRT(Z(I))ENDDO!$OMP END DO NOWAIT!$OMP END PARALLELEND SUBROUTINE A8