https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85369
--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> --- Author: msebor Date: Wed May 30 22:24:43 2018 New Revision: 260976 URL: https://gcc.gnu.org/viewcvs?rev=260976&root=gcc&view=rev Log: PR middle-end/85369 - no -Wstringop-overflow for a strcpy / stpcpy call with a nonstring pointer when providing movstr pattern gcc/ChangeLog: PR middle-end/85369 * builtins.c (expand_builtin_stpcpy_1): New function. (expand_builtin_stpcpy): Call it, and call maybe_warn_nonstring_arg only if the former succeeds. Modified: trunk/gcc/ChangeLog trunk/gcc/builtins.c