[Bug sanitizer/81601] [7/8 Regression] incorrect Warray-bounds warning with -fsanitize

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 28 14:22:00 GMT 2017


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The reason this doesn't trigger without -fsanitize= is that without the extra
UBSAN_* internal function calls we manage to find out earlier that this is a
dead code and optimize it away completely (during cddce1).


More information about the Gcc-bugs mailing list