https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103492
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The gcc_unreachable called was explicitly removed in r12-5576-ga3b31fe3692894e8 . The bug is obvious in clang where the switch only can have 4 values as it is a load from a bitfield of size of 2 bits.