1 ! { dg-additional-options "-O2" }
2 ! { dg-additional-options "-fdump-tree-ealias-all" }
6 integer, parameter :: n = 2
7 integer, target, dimension (0:n-1) :: a
8 integer, pointer :: ptr(:)
11 !$acc kernels pcopyin (a, ptr(0:2))
18 ! Only the omp_data_i related loads should be annotated with cliques.
19 ! { dg-final { scan-tree-dump-times "clique 1 base 1" 4 "ealias" } }
20 ! { dg-final { scan-tree-dump-times "(?n)clique 1 base 0" 5 "ealias" } }