diff options
author | Martin Sebor <msebor@redhat.com> | 2018-05-30 22:24:43 +0000 |
---|---|---|
committer | Martin Sebor <msebor@gcc.gnu.org> | 2018-05-30 16:24:43 -0600 |
commit | 3ce4cdb2f7ea5dfe464e2d5ddfe6b29c7411b104 (patch) | |
tree | 2e32fd6836340af4986b31910a2a79d18e676a48 /libgo/go | |
parent | 1ba9c854bb7031d8fd7e135ad89a49f7861edb81 (diff) | |
download | gcc-3ce4cdb2f7ea5dfe464e2d5ddfe6b29c7411b104.zip gcc-3ce4cdb2f7ea5dfe464e2d5ddfe6b29c7411b104.tar.gz gcc-3ce4cdb2f7ea5dfe464e2d5ddfe6b29c7411b104.tar.bz2 |
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.
From-SVN: r260976
Diffstat (limited to 'libgo/go')
0 files changed, 0 insertions, 0 deletions