| /* { dg-additional-options "-O2" } */ |
| /* { dg-additional-options "-fdump-tree-ealias-all" } */ |
| |
| void |
| foo (void) |
| { |
| unsigned int a; |
| unsigned int b; |
| unsigned int c; |
| unsigned int d; |
| |
| #pragma acc kernels copyin (a) create (b) copyout (c) copy (d) |
| { |
| a = 0; |
| b = 0; |
| c = 0; |
| d = 0; |
| } |
| } |
| |
| /* The xfails occur due to the OpenACC 2.5 data semantics. */ |
| |
| /* { dg-final { scan-tree-dump-times "clique 1 base 1" 4 "ealias" } } */ |
| /* { dg-final { scan-tree-dump-times "clique 1 base 2" 1 "ealias" { xfail *-*-* } } } */ |
| /* { dg-final { scan-tree-dump-times "clique 1 base 3" 1 "ealias" { xfail *-*-* } } } */ |
| /* { dg-final { scan-tree-dump-times "clique 1 base 4" 1 "ealias" { xfail *-*-* } } } */ |
| /* { dg-final { scan-tree-dump-times "clique 1 base 5" 1 "ealias" { xfail *-*-* } } } */ |
| /* { dg-final { scan-tree-dump-times "(?n)clique .* base .*" 8 "ealias" } } */ |
| |