https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 79005, which changed state.
Bug 79005 Summary: Use of a captured variable within nested generic lambdas provokes internal compiler error. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79005 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED