1 /* { dg-additional-options "-O2" } */
2 /* { dg-additional-options "-fipa-pta -fdump-tree-optimized" } */
7 typedef __SIZE_TYPE__
size_t;
19 unsigned int *a
= (unsigned int *)malloc (N
* sizeof (unsigned int));
21 unsigned int *c
= (unsigned int *)malloc (N
* sizeof (unsigned int));
23 #pragma acc kernels pcopyout (a[0:N], b[0:N], c[0:N])
34 /* { dg-final { scan-tree-dump-times "(?n)= 0;$" 1 "optimized" { target c } } } */
35 /* { dg-final { scan-tree-dump-times "(?n)= 1;$" 1 "optimized" { target c } } } */