! { dg-do compile }SUBROUTINE WORK(I)INTEGER IEND SUBROUTINE WORKSUBROUTINE A21_WRONG(N)INTEGER NINTEGER I!$OMP DO ORDEREDDO I=1,N! incorrect because an iteration may not execute more than one! ordered region!$OMP ORDEREDCALL WORK(I)!$OMP END ORDERED!$OMP ORDEREDCALL WORK(I+1)!$OMP END ORDEREDEND DO END SUBROUTINE A21_WRONG