2 ! { dg
-options
"-O2 -std=legacy" }
3 ! PR24823 Flow didn
't handle a PARALLEL as destination of a SET properly.
4 SUBROUTINE ZLATMR( M, N, DIST, ISEED, SYM, D, MODE, COND, DMAX,
5 $ RSIGN, GRADE, DL, MODEL, CONDL, DR, MODER,
6 $ PACK, A, LDA, IWORK, INFO )
7 COMPLEX*16 A( LDA, * ), D( * ), DL( * ), DR( * )
8 LOGICAL BADPVT, DZERO, FULBND
9 COMPLEX*16 ZLATM2, ZLATM3
10 IF( IGRADE.EQ.4 .AND. MODEL.EQ.0 ) THEN
12 IF( IPVTNG.GT.0 ) THEN
15 ELSE IF( IPACK.EQ.-1 .OR. ( ( IPACK.EQ.1 .OR. IPACK.EQ.2 .OR.
16 $ IPACK.EQ.5 .OR. IPACK.EQ.6 ) .AND. ISYM.EQ.1 ) .OR.
17 $ ( IPACK.EQ.3 .AND. ISYM.EQ.1 .AND. ( KL.NE.0 .OR. M.NE.
18 $ 6 ) .AND. LDA.LT.KUU+1 ) .OR.
19 $ ( IPACK.EQ.7 .AND. LDA.LT.KLL+KUU+1 ) ) THEN
25 IF( KUU.EQ.N-1 .AND. KLL.EQ.M-1 )
27 IF( MODE.NE.0 .AND. MODE.NE.-6 .AND. MODE.NE.6 ) THEN
29 IF( TEMP.EQ.ZERO .AND. DMAX.NE.CZERO ) THEN
35 IF( IGRADE.EQ.1 .OR. IGRADE.EQ.3 .OR. IGRADE.EQ.4 .OR. IGRADE.EQ.
36 $ 5 .OR. IGRADE.EQ.6 ) THEN
43 CTEMP = ZLATM3( M, N, I, J, ISUB, JSUB, KL, KU,
46 CTEMP = ZLATM3( M, N, I, J, ISUB, JSUB, KL, KU,
52 A( J-I+1, I ) = DCONJG( ZLATM2( M, N, I, J, KL,
53 $ DR, IPVTNG, IWORK, SPARSE ) ) ! { dg-warning "Type mismatch" }
55 A( J-I+1, I ) = ZLATM2( M, N, I, J, KL, KU, ! { dg-warning "Type mismatch" }
56 $ IPVTNG, IWORK, SPARSE )
60 IF( I.GE.1 .AND. I.NE.J ) THEN
64 A( I-J+KUU+1, J ) = ZLATM2( M, N, I, J, KL, KU, ! { dg-warning "More actual than formal" }
65 $ DR, IPVTNG, IWORK, SPARSE ) ! { dg-warning "Type mismatch" }
70 ONORM = ZLANGB( 'M
', N, KLL, KUU, A, LDA, TEMPA )
72 IF( ANORM.GE.ZERO ) THEN
73 IF( ANORM.GT.ZERO .AND. ONORM.EQ.ZERO ) THEN