2 ! Tests the fix for PR35743 and PR35745.
4 ! Contributed by Dick Hendrickson <dick.hendrickson@gmail.com>
8 lda
= (/(i
/2*2 .ne
. I
, i
=1,5)/)
9 call PR35743 (lda
, 1, 2, 3, 5, 6, -1, -2)
13 ! Previously, the negative mask size would not be detected.
14 SUBROUTINE PR35743 (LDA
,nf1
,nf2
,nf3
,nf5
,nf6
,mf1
,mf2
)
22 TDA1L(MF1
:NF5
:MF1
) = TDA1L(NF6
:NF2
)
26 ! Previously, the expression in the WHERE block would be evaluated
27 ! ouside the loop generated by the where.