[Bug c/87879] -Wformat-nonliteral could see more things as literals
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 6 04:20:00 GMT 2018
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.
More information about the Gcc-bugs
mailing list