https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 58597, which changed state.
Bug 58597 Summary: [5 Regression] ICE with lambda in default argument of template function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58597 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED