https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 102623, which changed state.
Bug 102623 Summary: Failure to detect destructed scalar objects in consteval function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102623 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE