https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105562
Sam James <sjames at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sjames at gcc dot gnu.org
--- Comment #29 from Sam James <sjames at gcc dot gnu.org> ---
(In reply to Romain Geissler from comment #28)
> Ok it's clear. I haven't really played yet with sanitizers, I didn't know it
> had these well known "issue" with creating more middle end false positive
> warnings (I am used to them in LTO mode).
>
> So I will advise that we relax warning severity/disable some warnings in my
> company when using sanitizers.
>
> Thanks !
See also
https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html#index-fsanitize_003dbuiltin.
"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."