Building lapack-3.2.1 results in a testsuite routine that fails with:

Testing DOUBLE PRECISION LAPACK linear equation routines
./xlintstd < dtest.in > dtest.out 2>&1
/bin/sh: line 1: 21385 Illegal instruction     (core dumped) ./xlintstd
<dtest.in >dtest.out 2>&1
make[1]: *** [dtest.out] Error 132

I've  tried several different optimization combinations, all giving the same
result:

FORTRAN  = gfortran -fimplicit-none
#OPTS     = -O3 -march=pentium4 -msse2 -mfpmath=sse -funroll-loops
-fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -Wunused
OPTS     = -O3 -march=native -funroll-loops -fomit-frame-pointer
-floop-interchange -floop-strip-mine -floop-block -Wunused

I've also dropped the -floop-interchange -floop-strip-mine -floop-block flags
and played with -march (native vs pentium4).   I get the same result


-- 
           Summary: Lapack-3.2.1 testsuite fails with illegal instruction
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ronis at ronispc dot chem dot mcgill dot ca
 GCC build triplet: i686-linux-gnu
  GCC host triplet: i686-linux-gnu
GCC target triplet: i686-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40673

Reply via email to