1 /* { dg-do compile } */
2 /* { dg-options "-fopenmp -fdump-tree-omplower" } */
4 /* Test that we adjust pointer offsets for sink variables
12 funk (foo
*begin
, foo
*end
)
15 #pragma omp parallel for ordered(1)
16 for (p
=end
; p
> begin
; p
--)
18 #pragma omp ordered depend(sink:p+1)
21 #pragma omp ordered depend(source)
25 /* { dg-final { scan-tree-dump-times "depend\\(sink:p\\+400\\)" 1 "omplower" } } */