[Bug sanitizer/84863] false-positive -Warray-bounds warning with -fsanitize-coverage=object-size

arnd at linaro dot org gcc-bugzilla@gcc.gnu.org
Sun Dec 16 15:44:00 GMT 2018


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

--- Comment #3 from Arnd Bergmann <arnd at linaro dot org> ---
The problem in the kernel then is that we then have to turn off the sanitizers
for the 'allmodconfig' build, since the recommended minimum regression testing
for kernel changes involves building a kernel with all options (including
UBSAN) enabled and checking that there are no compiler warnings.

This means we would fail to catch any build regressions in the kernel part of
UBSAN, as well as any legitimate warnings that are only seen when the
sanitizers are active.


More information about the Gcc-bugs mailing list