This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/29621] New: lapack runs into infinite loop with -03

Steps to reproduce:

0. Download lapack (blas source included) from:

1. Build blas:
   gfortran -c BLAS_SRC\*.f -O3
   ar -r libblas.a *.o

2. Build lapack: 
   gfortran -c LAPACK_SRC\*.f -O3
   ar -r liblapack.a *.o

3. Run following testcase (testcase.f):
      ------ code ---------------------------------

      REAL A(3,3)
      REAL X(3)
      REAL WORK(9)

      A(1,1)= 1.        
      A(2,1)= 0.        
      A(3,1)= 0.        
      A(1,2)= 0.
      A(2,2)= 1.
      A(3,2)= 0.
      A(1,3)= 0.
      A(2,3)= 0.
      A(3,3)= 1.

      CALL DSYEV('N','L',3,A,3,X,WORK,3*3,INFO);
      ------ end code -----------------------------

build with
gfortran -c testcase.f -O3
gfortran testcase.o -L. -llapack -lblas

Result: a.exe runs into an infinite loop.

Builds are on Win32 XP with gFortran 4.3.0 20061021 (experimental). Same occurs
with previous versions of gFortran.

F.E. Karaoulanis (

           Summary: lapack runs into infinite loop with -03
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fkar at nemesis-project dot org

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]