[Bug fortran/58667] Add -Wfloat-conversion

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Sat Apr 9 14:23:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58667

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Another WONTFIX?

Note that the GCC documentation

-Wfloat-conversion
Warn for implicit conversions that reduce the precision of a real value. This
includes conversions from real to integer, and from higher precision real to
lower precision real values. This option is also enabled by -Wconversion. 

should mention that the command line option '-Wfloat-conversion' is valid for
C/C++/ObjC/ObjC++ but not for Fortran.


More information about the Gcc-bugs mailing list