Debian Codegraph @

gcc/testsuite/gfortran.dg/gomp/reduction7.f90

raw
1 implicit none
2 integer :: a, b, i
3 a = 0
4
5 !$omp simd reduction(task,+:a) ! { dg-error "invalid 'task' reduction modifier on construct other than 'parallel', 'do', 'sections' or 'scope'" }
6 do i=1,10
7 a = a + 1
8 end do
9 end