https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104929
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> --- It's a quite known limitation that usage of sanitizers tends to emit false positives of various warnings.
marxin at gcc dot gnu.org via Gcc-bugs Tue, 15 Mar 2022 02:27:19 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104929
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> --- It's a quite known limitation that usage of sanitizers tends to emit false positives of various warnings.