https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102317
--- Comment #5 from Qing Zhao <qing.zhao at oracle dot com> --- > On Sep 13, 2021, at 4:45 PM, pinskia at gcc dot gnu.org > <gcc-bugzi...@gcc.gnu.org> wrote: > >> is it possible to make -fsanitize=signed-integer-overflow work with -fwrapv? > > Why would it? they conflict. This is a feature that is requested by Kees Cook for kernel security usage. "the kernel builds with -fno-strict-overflow which removes possible undefined behavior, but I still want the sanitizer to catch this case.”