This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/53001] -Wfloat-conversion should be available to warn about floating point errors
- From: "jjcogliati-r1 at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 26 Sep 2013 03:32:46 +0000
- Subject: [Bug c/53001] -Wfloat-conversion should be available to warn about floating point errors
- Auto-submitted: auto-generated
- References: <bug-53001-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53001
Joshua Cogliati <jjcogliati-r1 at yahoo dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #30873|0 |1
is obsolete| |
--- Comment #16 from Joshua Cogliati <jjcogliati-r1 at yahoo dot com> ---
Created attachment 30899
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30899&action=edit
Patch to add -Wfloat-conversion option against trunk
This version is against gcc trunk (rev 202818). For trunk, I had to unmake
unsafe_conversion_p being static (it is now extern again.)
This does not bootstrap trunk yet, because gcc has floating conversion issues
and with this being enabled by -Wextra and with -Werror, gcc fails to build.