[Bug fortran/58667] Add -Wfloat-conversion

2016-08-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58667

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |WONTFIX

--- Comment #4 from Dominique d'Humieres  ---
> Without feedback I'll close this PR as WONTFIX.

No feed-back, closing.

[Bug fortran/58667] Add -Wfloat-conversion

2016-07-19 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58667

--- Comment #3 from Dominique d'Humieres  ---
The gfortran documentation says

-Wconversion
Warn about implicit conversions that are likely to change the value of the
expression after conversion. Implied by -Wall. 
-Wconversion-extra
Warn about implicit conversions between different types and kinds. This option
does not imply -Wconversion. 

Isn't it enough?

Without feedback I'll close this PR as WONTFIX.

[Bug fortran/58667] Add -Wfloat-conversion

2016-04-09 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58667

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|NEW |WAITING

--- Comment #2 from Dominique d'Humieres  ---
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.

[Bug fortran/58667] Add -Wfloat-conversion

2014-01-07 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58667

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

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-01-07
 Ever confirmed|0   |1

--- Comment #1 from Dominique d'Humieres dominiq at lps dot ens.fr ---
Using -Wfloat-conversion at r206382 gives

f951: warning: command line option '-Wfloat-conversion' is valid for
C/C++/ObjC/ObjC++ but not for Fortran [enabled by default]