tree-optimization/113385 - wrong loop father with early exit vectorization
[official-gcc.git] / gcc / testsuite / gfortran.dg / gomp / pr77516.f90
blob9c0a95b9f79a18b0b868a70225dfeee9c4bad886
1 ! PR fortran/77516
2 ! { dg-do compile }
4 program pr77516
5 integer :: i, x
6 x = 0
7 !$omp simd safelen(0) reduction(+:x) ! { dg-warning "must be positive" }
8 do i = 1, 8
9 x = x + 1
10 end do
11 print *, x
12 end