2 ! { dg-additional-options "-ffrontend-optimize" }
3 ! PR 84270 - this used to be rejected.
4 ! Test case by Michael Weinert
8 integer, parameter :: fp
= selected_real_kind(13)
10 end module fp_precision
12 subroutine lhcal(nrot
,orth
,ngpts
,vgauss
,vr_0
)
14 use fp_precision
! floating point precision
18 !---> rotation matrices and rotations (input)
19 integer, intent(in
) :: nrot
20 ! real(kind=fp), intent(in) :: orth(3,3,nrot) ! fine at all -O
21 real(kind
=fp
), intent(in
) :: orth(3,3,*)
23 !---> gaussian integration points
24 integer, intent(in
) :: ngpts
25 real(kind
=fp
), intent(in
) :: vgauss(3,*)
28 real(kind
=fp
), intent(out
) :: vr_0(3)
30 real(kind
=fp
) :: v(3),vr(3)
38 vr
= matmul( orth(:,:,n
), v
)