[Bug fortran/91497] -Wconversion warns when doing explicit type conversion

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 20 18:58:00 GMT 2019


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

--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Steve Kargl from comment #4)

> This diff will silence warnings for explicit conversion
> using REAL() and INT() for the -Wconversion option.  It
> does not silence warnings for -Wconversion-extra.

This approcach looks very good.  It might make sense to also extend it
to -Wconversion-extra.

Do you plan to commit?  If you do, this patch is OK (we can discuss
-Wconversion-extra later).


More information about the Gcc-bugs mailing list