3 ! { dg-additional-options "-fstack-arrays -O2" }
7 call foo1((/ 1, 3, 3, 7 /))
8 call foo2((/ 1, 3, 3, 7 /))
9 call foo3((/ 1, 3, 3, 7 /))
10 call foo4((/ 1, 3, 3, 7 /))
11 call foo5((/ 1, 3, 3, 7 /))
12 call foo6((/ 1, 3, 3, 7 /))
15 integer, intent(in
) :: x(:)
21 integer, intent(in
) :: x(:)
27 integer, intent(in
) :: x(:)
33 integer, intent(in
) :: x(:)
36 !$omp end target teams
39 integer, intent(in
) :: x(:)
47 integer, intent(in
) :: x(:)
49 !$omp target teams distribute parallel do
54 function bar(x
) result(a
)
55 integer, dimension(:), intent(in
) :: x
56 integer, dimension(2,size(x
)) :: a
61 integer, dimension(:,:), intent(in
) :: a