[Bug fortran/54234] -Wconversion or -Wconversion-extra should warn for CMPLX(dp,dp)

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Aug 12 16:12:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54234

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #1 from kargl at gcc dot gnu.org 2012-08-12 16:12:09 UTC ---
I believe that a warning is not necessary and
in fact should not be issued.  The Fortran
standard explicitly states that CMPLX returns
a complex number with default real kind if the
KIND= optional argument is not used.



More information about the Gcc-bugs mailing list