diff options
author | Martin Sebor <msebor@redhat.com> | 2017-11-16 16:12:36 +0000 |
---|---|---|
committer | Martin Sebor <msebor@gcc.gnu.org> | 2017-11-16 09:12:36 -0700 |
commit | 8a5ee94a082b3d485b5cf7acc2b40b26cccb129f (patch) | |
tree | 08a6c6319b08277f262d9f9a882dfbaa10a55ede /gcc/predict.c | |
parent | 79cefe9d7d04cb9634ebfca6dec5f7c22c1104e3 (diff) | |
download | gcc-8a5ee94a082b3d485b5cf7acc2b40b26cccb129f.zip gcc-8a5ee94a082b3d485b5cf7acc2b40b26cccb129f.tar.gz gcc-8a5ee94a082b3d485b5cf7acc2b40b26cccb129f.tar.bz2 |
PR tree-optimization/82588 - missing -Warray-bounds on a excessively large index
PR tree-optimization/82588 - missing -Warray-bounds on a excessively large index
PR tree-optimization/82583 - missing -Warray-bounds on out-of-bounds inner indic
gcc/ChangeLog:
PR tree-optimization/82588
PR tree-optimization/82583
* tree-vrp.c (check_array_ref): Handle flexible array members,
string literals, and inner indices.
(search_for_addr_array): Add detail to diagnostics.
gcc/testsuite/ChangeLog:
PR tree-optimization/82588
PR tree-optimization/82583
* c-c++-common/Warray-bounds.c: New test.
* gcc.dg/Warray-bounds-11.c: Adjust.
* gcc.dg/Warray-bounds-22.c: New test.
From-SVN: r254830
Diffstat (limited to 'gcc/predict.c')
0 files changed, 0 insertions, 0 deletions