Debian Codegraph @

gcc/testsuite/gfortran.dg/goacc/uninit-copy-clause.f95

raw
1 ! { dg-do compile }
2 ! { dg-additional-options "-Wuninitialized" }
3
4 subroutine foo
5 integer :: i
6
7 !$acc kernels
8 i = 1
9 !$acc end kernels
10
11 end subroutine foo
12
13 subroutine foo2
14 integer :: i
15
16 !$acc kernels copy (i)
17 i = 1
18 !$acc end kernels
19
20 end subroutine foo2
21
22 subroutine foo3
23 integer :: i
24
25 !$acc kernels copyin (i)
26 i = 1
27 !$acc end kernels
28
29 end subroutine foo3