summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/vect/pr33301.f
blob: 0713f3e758389ce611ab8e50a690c4f949cd9818 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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

c { dg-final { cleanup-tree-dump "vect" } }