[Bug c/35592] Want attribute to enable precision loss warning
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 20 09:07:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35592
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-02-20
CC| |egallager at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #7 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to felix-gcc from comment #2)
> I am aware of -Wconversion, but I am not interested in ALL conversion
> truncations. Truncation happens to be a security issue in a few cases, in
> many other cases it would just be a regular bug. My suggestions aims to
> isolate the security relevant cases, for the rest we have -Wconversion.
>
Confirming, being able to be more selective with which truncations -Wconversion
applies to would be useful.
More information about the Gcc-bugs
mailing list