https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109804
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #7) > I am suspecting the `unnamed enum` is causing the ICE. I mean the local unnamed enums is what is exposing the ICE. Naming either of them and the ICE goes away.