[Bug sanitizer/114494] false-positive with -O2 -Wstringop-overflow=2 -fsanitize=address

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 27 06:24:01 GMT 2024


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Please note this part of the documentation:
Note that sanitizers tend to increase the rate of false positive warnings, most
notably those around -Wmaybe-uninitialized. We recommend against combining
-Werror and [the use of] sanitizers.


https://gcc.gnu.org/onlinedocs/gcc-13.2.0/gcc/Instrumentation-Options.html#index-fsanitize_003daddress


More information about the Gcc-bugs mailing list