This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/23516] New: IMAG is not a generic function when implicit none is declared
- From: "federico dot carminati at cern dot ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Aug 2005 16:20:08 -0000
- Subject: [Bug fortran/23516] New: IMAG is not a generic function when implicit none is declared
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following code does not compile
program bug
implicit none
double complex blop
double precision blopr
blopr=imag(blop)
blopr=sin(blop)
end
removing "implicit none" will let the code to compile. The compiler accepts sin as a generic function but
not imag.
--
Summary: IMAG is not a generic function when implicit none is
declared
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: federico dot carminati at cern dot ch
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: darwin Kernel Version 7.8.0; root:xnu/xnu-
517.11.1.obj~1/RELEASE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23516