[Bug fortran/54463] New: -fdefault-real-8 does not promote the BLAS call when using -fexternal-blas
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Sun Sep 2 20:00:00 GMT 2012
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
More information about the Gcc-bugs
mailing list