https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82456
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail|10.0 |10.2.0 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Status|NEW |RESOLVED Target Milestone|--- |11.0 Known to work| |11.0 Resolution|--- |FIXED Blocks|88443 |97048 Summary|missing -Wstringop-overflow |missing -Wstringop-overread |on strcpy reading past the |on strcpy reading past the |end of an array |end of an array --- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> --- GCC 11 diagnoses all four instances with the new -Wstringop-overread warning added in g:d14c547abd484d3540b692bb8048c4a6efe92c8b. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 [Bug 88443] [meta-bug] bogus/missing -Wstringop-overflow warnings https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97048 [Bug 97048] [meta-bug] bogus/missing -Wstringop-overread warnings