summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/g77/990115-1.f
blob: b38d55adf1a272760a94a64b29b24358398d2a16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
c { dg-do compile }
C Derived from lapack
      SUBROUTINE ZGELSX( M, N, NRHS, A, LDA, B, LDB, JPVT, RCOND, RANK,
     $                   WORK, RWORK, INFO )
      COMPLEX(kind=8)         WORK( * )
c     Following declaration added on transfer to gfortran testsuite.
c     It is present in original lapack source
      integer rank
            DO 20 I = 1, RANK
               WORK( ISMAX+I-1 ) = S2*WORK( ISMAX+I-1 )
   20       CONTINUE
      END