[Bug c/53001] -Wfloat-conversion should be available to warn about floating point errors
jjcogliati-r1 at yahoo dot com
gcc-bugzilla@gcc.gnu.org
Sat Sep 21 00:25:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53001
--- Comment #14 from Joshua Cogliati <jjcogliati-r1 at yahoo dot com> ---
Manuel López-Ibáñez, thank you for the patch review. I will make the changes
you requested, and rebase it against svn trunk, and run bootstrap and
testsuite. It may be a few weeks before I get this all done (depending on
available time).
UNSAFE_SIGN is unused, but when I was doing the patch, I noticed that
unsafe_conversion_p basically does not report sign conversion errors, instead
it does the warning directly inside the function. So there definitely is a
distinct unsafe conversion type, but I am not sure if I should remove the
constant entirely or not. Either way I will try and document the behavior
better.
More information about the Gcc-bugs
mailing list