https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117059
--- Comment #11 from Joseph S. Myers <jsm28 at gcc dot gnu.org> --- This does not currently warn about zero of enum, bool or _BitInt type except in contexts where integer promotions result in bool being promoted to int before the diagnostic applies.