https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96188
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=94335 Summary|-Wstringop-overflow false |-Wstringop-overflow false |positive |positive on | |std::vector::push_back with | |-O3 --- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> --- pr94335 talks about some of the issues/challenges with pointers in this context. (The problem discussed in pr95353 has a similar test case as this one but it's due to an already fixed bug in the warning.)