https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87879
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-06 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> --- Confirmed. It could be done by integrating -Wformat with -Wformat-overflow. The latter runs without optimization as well as with it so the integration shouldn't result in too many false negatives.