[Bug c/63886] float will fit into int with abs - possible missing warning Wabsolute-value
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Nov 15 13:49:00 GMT 2014
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 ?
More information about the Gcc-bugs
mailing list