https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85741 Bug 85741 depends on bug 100325, which changed state.
Bug 100325 Summary: missing warning with -O0 on sprintf overflow with pointer plus offset https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100325 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED