diff options
author | Martin Sebor <msebor@redhat.com> | 2018-07-19 23:36:34 +0000 |
---|---|---|
committer | Martin Sebor <msebor@gcc.gnu.org> | 2018-07-19 17:36:34 -0600 |
commit | d893b683f40884cd00b5beb392566ecc7b67f721 (patch) | |
tree | c7d999063b4f24555814611b02dd940e42314cd4 /gcc/fortran/options.c | |
parent | a34ab135873dda54ae9d7553c35019354a516832 (diff) | |
download | gcc-d893b683f40884cd00b5beb392566ecc7b67f721.zip gcc-d893b683f40884cd00b5beb392566ecc7b67f721.tar.gz gcc-d893b683f40884cd00b5beb392566ecc7b67f721.tar.bz2 |
PR tree-optimization/84047 - missing -Warray-bounds on an out-of-bounds index into an array
PR tree-optimization/84047 - missing -Warray-bounds on an out-of-bounds index into an array
PR tree-optimization/83776 - missing -Warray-bounds indexing past the end of a string literal
gcc/ChangeLog:
PR tree-optimization/84047
PR tree-optimization/83776
* tree-vrp.c (vrp_prop::check_mem_ref): New function.
(check_array_bounds): Call it.
gcc/testsuite/ChangeLog:
PR tree-optimization/83776
PR tree-optimization/84047
* gcc.dg/Warray-bounds-29.c: New test.
* gcc.dg/Warray-bounds-30.c: New test.
* gcc.dg/Warray-bounds-31.c: New test.
* gcc.dg/Warray-bounds-32.c: New test.
From-SVN: r262893
Diffstat (limited to 'gcc/fortran/options.c')
0 files changed, 0 insertions, 0 deletions