[Bug sanitizer/87454] Maybe implement -fsanitize=implicit-integer-truncation

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 7 09:43:00 GMT 2018


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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-11-07
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Note that truncation is only part of recently added Implicit Conversion
Sanitizer:
http://releases.llvm.org/7.0.0/tools/clang/docs/ReleaseNotes.html#undefined-behavior-sanitizer-ubsan

One can find a blog post about it here (mentioned in LLVM weekly):
John Regehr has a short blog post on [recently added implicit integer cast 
sanitizers](https://blog.regehr.org/archives/1633).


More information about the Gcc-bugs mailing list