1 ! RUN: %flang_fc1 -fdebug-unparse-no-sema %s 2>&1 | FileCheck %s
5 INTEGER, INTENT(IN
) :: nn
6 COMPLEX(8), INTENT(INOUT
), DIMENSION(1:nn
) :: a
8 !DIR$ assume_aligned a:16
9 !CHECK: !DIR$ ASSUME_ALIGNED a:16
10 !DIR$ assume_aligned a (1):16
11 !CHECK: !DIR$ ASSUME_ALIGNED a(1):16
12 !DIR$ assume_aligned a(1):16
13 !CHECK: !DIR$ ASSUME_ALIGNED a(1):16
14 !DIR$ assume_aligned a(nn):16
15 !CHECK: !DIR$ ASSUME_ALIGNED a(nn):16
16 !DIR$ assume_aligned a(44):16
17 !CHECK: !DIR$ ASSUME_ALIGNED a(44):16
23 SUBROUTINE bb(v
, s
, e
)
25 INTEGER, INTENT(IN
) :: s(3), e(3)
27 REAL(8), INTENT(IN
) :: v(s(1):e(1),s(2):e(2),s(3):e(3))
28 !DIR$ assume_aligned v(s(1),y,z) :64
29 !CHECK: !DIR$ ASSUME_ALIGNED v(s(1),y,z):64
35 REAL(KIND
=8), POINTER :: a(:,:)
38 TYPE(NODE
), POINTER :: nodes
40 INTEGER, INTENT(IN
) :: n
43 ALLOCATE(nodes
%a(1000,1000))
45 !DIR$ ASSUME_ALIGNED nodes%a(1,1) : 16
46 !CHECK: !DIR$ ASSUME_ALIGNED nodes%a(1,1):16
48 nodes
%a(1,i
) = nodes
%a(1,i
)+1
54 INTEGER, INTENT(in
) :: a(128), b(128)
55 !DIR$ ASSUME_ALIGNED a:32, b:64
56 !CHECK: !DIR$ ASSUME_ALIGNED a:32, b:64