(root)/
gcc-13.2.0/
gcc/
testsuite/
gfortran.dg/
gomp/
pr77516.f90
! PR fortran/77516
! { dg-do compile }

program pr77516
   integer :: i, x
   x = 0
!$omp simd safelen(0) reduction(+:x)	! { dg-warning "must be positive" }
   do i = 1, 8
      x = x + 1
   end do
   print *, x
end