https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65120
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- Oh, you can also workaround with if (b == !!a)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65120
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- Oh, you can also workaround with if (b == !!a)