https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 70515, which changed state.
Bug 70515 Summary: Nested lambdas causing invalid captured pointers on some platforms https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70515 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID