public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/18791] New: CABS specifics declared of wrong type
@ 2004-12-02 19:28 tobi at gcc dot gnu dot org
  2004-12-02 19:32 ` [Bug libfortran/18791] " pbrook at gcc dot gnu dot org
  0 siblings, 1 reply; 6+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-12-02 19:28 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-10-02  9:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-18791-8513@http.gcc.gnu.org/bugzilla/>
2006-09-29 13:21 ` [Bug libfortran/18791] CABS specifics declared of wrong type fxcoudert at gcc dot gnu dot org
2006-09-29 13:22 ` fxcoudert at gcc dot gnu dot org
2006-09-29 20:41 ` fxcoudert at gcc dot gnu dot org
2006-10-02  9:37 ` [Bug libfortran/18791] [4.1 only] " fxcoudert at gcc dot gnu dot org
2006-10-02  9:38 ` [Bug libfortran/18791] " fxcoudert at gcc dot gnu dot org
2004-12-02 19:28 [Bug libfortran/18791] New: " tobi at gcc dot gnu dot org
2004-12-02 19:32 ` [Bug libfortran/18791] " pbrook at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).