https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95507 Bug 95507 depends on bug 95515, which changed state.
Bug 95515 Summary: missing --Wnonnull on a straightforward call with a null pointer https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95515 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE