Debian Codegraph @

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

raw
1 ! This program used to ICE in convert_nonlocal_reference_op due to
2 ! incorrect scoping of AFFINITY clause iterator variables.
3
4 program p
5 integer :: a(8)
6 !$omp task affinity (iterator(j=1:8) : a(j))
7 !$omp end task
8 contains
9 integer function f(x)
10 class(*) :: x
11 end
12 end