[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:50:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48956
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.05.11 08:13:47
CC| |manu at gcc dot gnu.org
Ever Confirmed|0 |1
Severity|normal |enhancement
--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2011-05-11 08:13:47 UTC ---
The Wconversion code makes not attempt to identify conversion from/to complex
value but it is probably easy to implement.
If you are really interested in this, I can give you some hints and advice and
you will probably get it ready for GCC 4.7, but I don't have free time to do it
myself, sorry.
More information about the Gcc-bugs
mailing list