https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88775
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Probably not. I don't think sanitizers flag the unspecified comparisons, so we could just always do the uintptr_t comparisons for C++98/11. The patch looks good to me.