aboutsummaryrefslogtreecommitdiff
path: root/gcc/generic-match-head.c
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2019-10-04 21:29:41 +0000
committerMartin Sebor <msebor@gcc.gnu.org>2019-10-04 15:29:41 -0600
commitdaa94de24b9afdf21c636532e53561aa3713910b (patch)
tree2b436d826209685743534b45bd63da62094c0b70 /gcc/generic-match-head.c
parent28a5fa54aa47877b6d254430adbf3ca0377beeaa (diff)
downloadgcc-daa94de24b9afdf21c636532e53561aa3713910b.zip
gcc-daa94de24b9afdf21c636532e53561aa3713910b.tar.gz
gcc-daa94de24b9afdf21c636532e53561aa3713910b.tar.bz2
PR middle-end/91977 - missing -Wstringop-overflow on memcpy into a pointer plus offset
gcc/ChangeLog: PR middle-end/91977 * tree-ssa-strlen.c (count_nonzero_bytes): Handle assignments with MEM_REF right operand. Avoid failing for MEM_REF assignments from uninitialized objects. gcc/testsuite/ChangeLog: PR middle-end/91977 * gcc.dg/Wstringop-overflow-18.c: New test. From-SVN: r276603
Diffstat (limited to 'gcc/generic-match-head.c')
0 files changed, 0 insertions, 0 deletions