This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29621] New: lapack runs into infinite loop with -03
- From: "fkar at nemesis-project dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Oct 2006 19:08:54 -0000
- Subject: [Bug fortran/29621] New: lapack runs into infinite loop with -03
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Steps to reproduce:
0. Download lapack (blas source included) from:
http://www.netlib.org/lapack/lapack.tgz.
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 ---------------------------------
PROGRAM TESTCASE
IMPLICIT NONE
REAL A(3,3)
REAL X(3)
REAL WORK(9)
INTEGER INFO
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 PROGRAM
------ 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 (www.nemesis-project.org)
--
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29621