Debian Codegraph @

gcc/testsuite/gfortran.dg/goacc/kernels-alias-3.f95

raw
1 ! { dg-additional-options "-O2" }
2 ! { dg-additional-options "-fdump-tree-ealias-all" }
3
4 program main
5 implicit none
6 integer, target :: a
7 integer, pointer :: ptr
8 ptr => a
9
10 !$acc kernels pcopyin (a, ptr)
11 a = 0
12 ptr = 1
13 !$acc end kernels
14
15 end program main
16
17 ! Only the omp_data_i related loads should be annotated with cliques.
18 ! { dg-final { scan-tree-dump-times "clique 1 base 1" 2 "ealias" } }
19 ! { dg-final { scan-tree-dump-times "(?n)clique 1 base 0" 3 "ealias" } }