This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/54463] New: -fdefault-real-8 does not promote the BLAS call when using -fexternal-blas
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 02 Sep 2012 19:59:53 +0000
- Subject: [Bug fortran/54463] New: -fdefault-real-8 does not promote the BLAS call when using -fexternal-blas
- Auto-submitted: auto-generated
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