https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85714
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- The enumeration type can take any value from (Foo)INT_MIN to (Foo)INT_MAX, and likewise for Bar. Your switches are not exhaustive. I think we need a FAQ about this, we have so many invalid bug reports like this.