https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99460 Bug 99460 depends on bug 94511, which changed state.
Bug 94511 Summary: User-defined type in non-type template parameter yields an incorrect value https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94511 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED