FWD: LAPACK TEST PROBLEM DUMPS CORE AT -O2 - EGCS-1998 -Repl

tprince@cat.e-mail.com tprince@cat.e-mail.com
Wed Nov 25 12:02:00 GMT 1998


          -Reply


It came through looking a bit unreadable, but I reproduce this
problem on Irix6.4.  The problem goes away if the optimization is
reduced from -O2 to -Os or if -funroll-loops is added, or with a
version change to egcs-2.91.58 (prerelease-1.1.1-2) or
egcs-2.92.16.  I have seen other unfavorable changes since
2.92.16 on Irix6.4.

Content-type: text/plain;
   name="labug1.f"
Content-transfer-encoding: quoted-printable
Content-disposition: inline

      PROGRAM LABUG1  *  This program core dumps on
mips-sgi-irix6.2 when
...compiled *  with egcs-19981101, egcs-19981109 and
egcs-19981122 snapshots *
... with -O2 * *  Originally derived from LAPACK test suite. *
Almost any
...change allows it to run. * *  David Billinghurst,
...(David.Billinghurst@riotinto.com.au) *  25 November 1998 *  *
 ..
...Parameters ..       INTEGER   LDA, LDE       PARAMETER ( LDA
= 2500, LDE =
...50  )       COMPLEX   CZERO        PARAMETER ( CZERO = (
0.0E+0, 0.0E+0 )
...)        INTEGER   I, J, M, N       REAL      V       COMPLEX
...A(LDA),B(LDA),C(LDA),E(LDE,LDE),F(LDE,LDE)
COMPLEX   Z        N=2
...    M=1 *       do i = 1, m          do j = 1, n             e(i,j) =
...czero             f(i,j) = czero         end do       end do *       DO J =
...1, N          DO I = 1, M             V =  ABS( E(I,J) - F(I,J) )
...END DO       END DO         CALL SUB2(M,Z)        END
subroutine
...SUB2(I,A)       integer i       complex a       end

Dr. Timothy C. Prince
Consulting Engineer
Solar Turbines, a Caterpillar Company
alternate e-mail: tprince@computer.org

           To:                                              INTERNET - IBMMAIL
                                                            I5716149 - IBMMAIL



More information about the Gcc-bugs mailing list