This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/63886] float will fit into int with abs - possible missing warning Wabsolute-value
- From: "dcb314 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 15 Nov 2014 13:49:53 +0000
- Subject: [Bug c/63886] float will fit into int with abs - possible missing warning Wabsolute-value
- Auto-submitted: auto-generated
- References: <bug-63886-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63886
--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to Marc Glisse from comment #1)
> warning: conversion to âintâ from âfloatâ may alter its value
> [-Wfloat-conversion]
Thanks for that.
Given the obscurity of -Wfloat-conversion, maybe it is time for it
to be included in -Wall, where more folks will notice it ?