https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88991
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |88443 --- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> --- The most appropriate warning in all these cases is probably -Wstringop-overflow rather than -Warray-bounds, since the former is meant to diagnose both writing and reading past the end of an array by string functions. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 [Bug 88443] [meta-bug] bogus/missing -Wstringop-overflow warnings