[Bug c/63886] float will fit into int with abs - possible missing warning Wabsolute-value

egall at gwmail dot gwu.edu gcc-bugzilla@gcc.gnu.org
Tue Jan 20 20:25:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63886

Eric Gallager <egall at gwmail dot gwu.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egall at gwmail dot gwu.edu

--- Comment #8 from Eric Gallager <egall at gwmail dot gwu.edu> ---
(In reply to Andreas Schwab from comment #4)
> float f = 3.1f;

Isn't there already -Wunsuffixed-float-constants for warnings with that kind of
fix?



More information about the Gcc-bugs mailing list