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).