aboutsummaryrefslogtreecommitdiff
path: root/gcc/coverage.c
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2020-09-11 09:40:45 -0600
committerMartin Sebor <msebor@redhat.com>2020-09-11 09:42:29 -0600
commitf36a8168f04dfbde9d4c64421c1058975b28ff9a (patch)
tree0a91d08d1d73d3cdd55bce00bfe8474576186b89 /gcc/coverage.c
parent1be7bf7dab86d2fb33561b7eac1d2f527aa98b2c (diff)
downloadgcc-f36a8168f04dfbde9d4c64421c1058975b28ff9a.zip
gcc-f36a8168f04dfbde9d4c64421c1058975b28ff9a.tar.gz
gcc-f36a8168f04dfbde9d4c64421c1058975b28ff9a.tar.bz2
Move/correct offset adjustment (PR middle-end/96903).
Resolves: PR middle-end/96903 - bogus warning on memcpy at negative offset from array end gcc/ChangeLog: PR middle-end/96903 * builtins.c (compute_objsize): Remove incorrect offset adjustment. (compute_objsize): Adjust offset range here instead. gcc/testsuite/ChangeLog: PR middle-end/96903 * gcc.dg/Wstringop-overflow-42.c:: Add comment. * gcc.dg/Wstringop-overflow-43.c: New test.
Diffstat (limited to 'gcc/coverage.c')
0 files changed, 0 insertions, 0 deletions