This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/18791] New: CABS specifics declared of wrong type
- From: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Dec 2004 19:28:01 -0000
- Subject: [Bug libfortran/18791] New: CABS specifics declared of wrong type
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
in libgfortran/generated/_abs_c8.f90 we have
elemental function specific__abs_c8 (parm)
complex (kind=8), intent (in) :: parm
complex (kind=8) :: specific__abs_c8
specific__abs_c8 = abs (parm)
end function
the function should be of type real(kind=8), not complex. In the current
incarnation the compiler generates a warning for an implicit type conversion.
Same for _abs_c4.f90
--
Summary: CABS specifics declared of wrong type
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P2
Component: libfortran
AssignedTo: pbrook at gcc dot gnu dot org
ReportedBy: tobi at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18791