https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 59938, which changed state.
Bug 59938 Summary: [C++11] Bogus "... is not a constant expression" https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59938 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED