PR tree-optimization/86650 - -Warray-bounds missing inlining context
authorMartin Sebor <msebor@redhat.com>
Tue, 14 Aug 2018 19:11:20 +0000 (19:11 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Tue, 14 Aug 2018 19:11:20 +0000 (13:11 -0600)
commit2b1aedf3ac3883af176555bea621c6c8a7a46be7
treec0394d1e170361e50d43c73a21c80a2a7eacfcc7
parent0ce0e6e865f65b34fd20e8ae912ff7307fb5b832
PR tree-optimization/86650 - -Warray-bounds missing inlining context

gcc/ChangeLog:

PR tree-optimization/86650
* tree-vrp.c (vrp_prop::check_array_ref): Print an inform message.
(vrp_prop::check_mem_ref): Same.

gcc/testsuite/ChangeLog:

PR tree-optimization/86650
* gcc.dg/Warray-bounds-34.c: New test.

From-SVN: r263541
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Warray-bounds-34.c [new file with mode: 0644]
gcc/tree-vrp.c