Debian Codegraph @

gcc/testsuite/gfortran.dg/do_concurrent_locality_specs.f90

raw
1 ! { dg-additional-options "-Wunused-variable" }
2 implicit none
3 integer :: i, j, k, ll
4 integer :: jj, kk, lll
5 do , concurrent (i = 1:5) shared(j,jj) local(k,kk) local_init(ll,lll)
6 ! { dg-warning "Variable 'kk' in locality-spec at \\(1\\) is not used \\\[-Wunused-variable\\\]" "" { target *-*-* } .-1 }
7 ! { dg-warning "Variable 'll' in locality-spec at \\(1\\) is not used \\\[-Wunused-variable\\\]" "" { target *-*-* } .-2 }
8 ! { dg-warning "Variable 'jj' in locality-spec at \\(1\\) is not used \\\[-Wunused-variable\\\]" "" { target *-*-* } .-3 }
9 j = 5
10 k = 7
11 lll = 8
12 end do
13 end