aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-inline.c
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2021-12-09 12:49:28 -0700
committerMartin Sebor <msebor@redhat.com>2021-12-09 12:51:40 -0700
commit243a980437b5e7fca56587bf86667005bdf343a7 (patch)
tree721ae4d4178055764fda459c742108017ed49371 /gcc/ipa-inline.c
parent9eeca99ccce4b56765920bd3c839abb77bbd4280 (diff)
downloadgcc-243a980437b5e7fca56587bf86667005bdf343a7.zip
gcc-243a980437b5e7fca56587bf86667005bdf343a7.tar.gz
gcc-243a980437b5e7fca56587bf86667005bdf343a7.tar.bz2
Extend the offset and size of merged object references [PR103215].
Resolves: PR tree-optimization/103215 - bogus -Warray-bounds with two pointers with different offsets each gcc/ChangeLog: PR tree-optimization/103215 * pointer-query.cc (access_ref::merge_ref): Extend the offset and size of the merged object instead of using the larger. gcc/testsuite/ChangeLog: PR tree-optimization/103215 * gcc.dg/Wstringop-overflow-58.c: Adjust and xfail expected warnings. * gcc.dg/Wstringop-overflow-59.c: Same. * gcc.dg/warn-strnlen-no-nul.c: Same. * gcc.dg/Warray-bounds-91.c: New test. * gcc.dg/Warray-bounds-92.c: New test. * gcc.dg/Wstringop-overflow-85.c: New test. * gcc.dg/Wstringop-overflow-87.c: New test.
Diffstat (limited to 'gcc/ipa-inline.c')
0 files changed, 0 insertions, 0 deletions