3 ! Fixes PR37787 where the EQUIVALENCE between QLA1 and QLA2 wasn't recognized
4 ! in the dependency checking because the compiler was looking in the wrong name
7 ! Contributed by Dick Hendrickson <dick.hendrickson@gmail.com>
10 integer, parameter :: r4_kv = 4
14 ! COPYRIGHT 1999 SPACKMAN & HENDRICKSON, INC.
15 REAL(R4_KV), dimension (10) :: QLA1, QLA2, QLA3, &
16 QCA = (/(i, i= 1, 10)/)
17 EQUIVALENCE (QLA1, QLA2)
20 QLA3( 2:10:3) = QCA ( 1:5:2) + 1
21 QLA1( 2:10:3) = QLA2( 1:5:2) + 1 !failed because of dependency
22 if (any (qla1 .ne. qla3)) call abort
33 ! { dg-final { cleanup-modules "stuff" } }