2 ! { dg-options "-ffrontend-optimize -fdump-tree-original" }
3 ! PR 69154 - inlined matmul used to cause an ICE inside a WHERE.
5 INTEGER, PARAMETER :: dp
=8
7 subroutine llsfit_svd(xx
,yy
,sigma
,nfuncs
,funcs
,chisq
,par
,var
,cov
,info
)
8 real(dp
),intent(in
) :: xx(:),yy(:),sigma(:)
9 real(dp
),dimension(SIZE(xx
)) :: bb
,sigm1
10 real(dp
) :: tmp(nfuncs
)
11 real(dp
),allocatable
:: work(:),Vt(:,:),U(:,:),S(:)
12 real(dp
),dimension(3,3) :: a
, b
, c
13 WHERE (S
>TOL_
*MAXVAL(S
))
19 end subroutine llsfit_svd
21 END MODULE m_numeric_tools
22 ! { dg-final { scan-tree-dump-times "matmul_r8" 1 "original" } }