https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 83928, which changed state.
Bug 83928 Summary: implicit conversion of literal class type to unscoped enumeration can not be used as array size https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83928 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED