https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 65642, which changed state.
Bug 65642 Summary: [C++11] GCC rejects valid constant expression https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65642 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED