https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95507 Bug 95507 depends on bug 100684, which changed state.
Bug 100684 Summary: [11 Regression] spurious -Wnonnull with -O1 on a C++ lambda https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100684 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED