https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95507 Bug 95507 depends on bug 111669, which changed state.
Bug 111669 Summary: bogus -Wnonnull in conditionally executed code https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111669 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID