https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95507 Bug 95507 depends on bug 96021, which changed state.
Bug 96021 Summary: missing -Wnonnull passing nullptr to a nonnull variadic lambda https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96021 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED