https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110278
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- And x != (typeof x)(x == 0) is always true, the only other related one I could come up with. That's optimized for _Bool but not integer types.