https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug 101603 depends on bug 102637, which changed state.
Bug 102637 Summary: "Error: ‘reinterpret_cast’ is not a constant expression" when no reinterpret_cast is involved https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102637 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE