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: Mon, 30 Sep 2013 12:13:48 +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 #30913|0 |1
is obsolete| |
--- Comment #20 from Joshua Cogliati <jjcogliati-r1 at yahoo dot com> ---
Created attachment 30937
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30937&action=edit
Patch to add -Wfloat-conversion option against trunk
Added one more changed needed to get it to compile (which only occured if I did
an rm -Rf in the build directry, the make bootstrap didn't catch the libcpp
warning found.)
The only thing I have left is to possibly modify the test scripts (to use
-Wfloat-conversion instead of -Wconversion for the relevant tests) and
recompile against the current trunk.