1 subroutine sgbcon(norm,n,kl,ku,ab,ldab,ipiv,anorm,rcond,work,iwork
4 C -- LAPACK routine (version 3.0) --
5 C Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
6 C Courant Institute, Argonne National Lab, and Rice University
9 C .. Scalar Arguments ..
11 integer info,kl,ku,ldab,n
14 C .. Array Arguments ..
15 integer ipiv(n),iwork(n)
16 real ab(ldab,n),work(n)
21 C demonstrate g77 bug at -O -funroll-loops
22 C =====================================================================
26 parameter(one= 1.0e+0,zero= 0.0e+0)
31 integer ix,j,jp,kase,kase1,kd,lm
32 real ainvnm,scale,smlnum,t
34 C .. External Functions ..
38 externallsame,isamax,sdot,slamch
40 C .. External Subroutines ..
41 externalsaxpy,slacon,slatbs,srscl,xerbla
43 C .. Executable Statements ..
48 C the following min() intrinsic provokes this bug
53 C but only when combined with this if block
57 C and this subroutine call
58 call saxpy(lm,-t,ab(kd+1,j),1,work(j+1),1)