https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 79104, which changed state.
Bug 79104 Summary: [DR 696] wrong semantics for odr-use of constant variable from lambda https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79104 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |DUPLICATE