https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128588
ktkachov at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[14/15/16/17 Regression] |[14/15/16 Regression] wrong
|wrong code: if-to-switch |code: if-to-switch turns (a
|turns (a | b) != 0 of two || b) != 0 of two
|anti-ranges into a switch |anti-ranges into a switch
|on their union |on their union
--- Comment #4 from ktkachov at gcc dot gnu.org ---
Fixed for GCC 17. Keeping open for backports.