This is the mail archive of the gcc-bugs@gcc.gnu.org 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/54463] New: -fdefault-real-8 does not promote the BLAS call when using -fexternal-blas


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

             Bug #: 54463
           Summary: -fdefault-real-8 does not promote the BLAS call when
                    using -fexternal-blas
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dominiq@lps.ens.fr


From http://gcc.gnu.org/ml/fortran/2012-09/msg00004.html :

> I just tried to compile the simple program

program test
implicit none
real, dimension(3,3) :: A
A = matmul(A,A)
end program test

> with
> $ gfortran-4.7 -fexternal-blas -fdefault-real-8 test.f95
> /tmp/cc3ij1CL.o: In function `MAIN__':
> test.f95:(.text+0x14e): undefined reference to `sgemm_'
> collect2: Fehler: ld gab 1 als Ende-Status zurÃck
>
> looks like matmul is replaced with sgemm and not with dgemm


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