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

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 14 14:09:00 GMT 2018


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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Never use -Werror with -fsanitize=*, those really do cause new warnings because
the code intentionally is less optimized and the runtime check themselves
prevent further optimizations, so warnings that depend on optimizations can't
work properly.


More information about the Gcc-bugs mailing list