https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92025
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> --- Yes. r276603 has made it possible: PR middle-end/91977 - missing -Wstringop-overflow on memcpy into a pointer plus offset That said, it seems excessive to go to the trouble of opening a bug for a passing test.