tree-optimization/113385 - wrong loop father with early exit vectorization
[official-gcc.git] / gcc / testsuite / gfortran.dg / gomp / appendix-a / a.11.6.f90
blobfa31bcffcd3b1df456379f701ac6906642405596
1 ! { dg-do compile }
3 SUBROUTINE A11_6_WRONG(AA, BB, CC, DD, N)
4 INTEGER N
5 REAL AA(N,N), BB(N,N), CC(N,N), DD(N,N)
6 INTEGER PRI
7 !$OMP PARALLEL PRIVATE(PRI)
8 !$OMP WORKSHARE
9 AA = BB
10 PRI = 1
11 CC = DD * PRI
12 !$OMP END WORKSHARE
13 !$OMP END PARALLEL
14 END SUBROUTINE A11_6_WRONG