https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94747
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Negation of unsigned long value is well defined for all possible values, including 16. Is that with the flawed clang -fsanitize=unsigned-integer-overflow ? GCC doesn't implement that for a reason.