https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120471
Xi Ruoyao <xry111 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic, wrong-code --- Comment #7 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- The wrong-code started since GCC 10, and the bogus warning started since GCC 4.9. GCC <= 4.8 does not support sanitizer.