diff options
author | Martin Sebor <msebor@redhat.com> | 2021-03-18 13:36:09 -0600 |
---|---|---|
committer | Martin Sebor <msebor@redhat.com> | 2021-03-18 13:38:00 -0600 |
commit | 30b10dacd0a8c926c22eab7d4aeb52ff86534acf (patch) | |
tree | b39b32d49992bc87c3a9f7b7b349bbce699e5aef /gcc/tree-vect-slp-patterns.c | |
parent | c5e55673b486533c4d6d19ac903460f70b48f11a (diff) | |
download | gcc-30b10dacd0a8c926c22eab7d4aeb52ff86534acf.zip gcc-30b10dacd0a8c926c22eab7d4aeb52ff86534acf.tar.gz gcc-30b10dacd0a8c926c22eab7d4aeb52ff86534acf.tar.bz2 |
PR middle-end/99502 - missing -Warray-bounds on partial out of bounds
gcc/ChangeLog:
PR middle-end/99502
* gimple-array-bounds.cc (inbounds_vbase_memaccess_p): Rename...
(inbounds_memaccess_p): ...to this. Check the ending offset of
the accessed member.
gcc/testsuite/ChangeLog:
PR middle-end/99502
* g++.dg/warn/Warray-bounds-22.C: New test.
* g++.dg/warn/Warray-bounds-23.C: New test.
* g++.dg/warn/Warray-bounds-24.C: New test.
Diffstat (limited to 'gcc/tree-vect-slp-patterns.c')
0 files changed, 0 insertions, 0 deletions