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.