https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 103600, which changed state.
Bug 103600 Summary: Cannot use typeid result in constant expressions https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103600 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED