https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114700
--- Comment #13 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- And IIRC there are various suggestion saying "if you want -fwrapv, you are likely actually wanting -fsanitize=signed-integer-overflow" and some plan deprecating -fwrapv. So it's more important to fix the sanitizer issue.