https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85777
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The expectations that sanitization doesn't change generated warnings is a wrong one, the runtime instrumentation affects the code generation so much that necessarily some further warnings will be emitted and others omitted. If you care about warnings as well as sanitization, I'd suggest separate builds for warnings and for sanitization, the latter perhaps with -w.