https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 103912, which changed state.
Bug 103912 Summary: ICE in a consteval function which returns a lambda which takes a "non-POD" argument and the consteval has other code https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103912 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED