https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403 Bug 87403 depends on bug 87983, which changed state.
Bug 87983 Summary: Feature: Add a warning when case labels from a different enum than the one in switch(EXPR) are used https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87983 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE