[Bug c/48956] -Wconversion should warn when a complex value is assigned to a real result
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed May 11 08:27:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48956
--- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2011-05-11 08:16:18 UTC ---
(In reply to comment #0)
> PS. Note -Wconversion already DOES emit a warning for conversion to complex to
> real in gfortran. e.g.
Except for very few exceptions, the diagnostic machinery of Fortran is
independent of the diagnostic machinery of C/C++ (in some cases worse, in some
cases better). On the other hand, C/C++ share most of the code for Wconversion,
so implementing it for C will make it available for C++.
More information about the Gcc-bugs
mailing list