[Bug tree-optimization/109968] False Warning stringop-overread when -O2 and -fsanitize=address used
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 25 16:23:46 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109968
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
From
https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/Instrumentation-Options.html#index-fsanitize_003daddress
:
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.
More information about the Gcc-bugs
mailing list