[Bug sanitizer/102515] UBSAN misses signed division instrumentation
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 28 13:03:50 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102515
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Btw, clang documents:
-fsanitize=signed-integer-overflow: Signed integer overflow, where the result
of a signed integer computation cannot be represented in its type. This
includes all the checks covered by -ftrapv, as well as checks for signed
division overflow (INT_MIN/-1),
and restricts divide to divide by zero.
More information about the Gcc-bugs
mailing list