PR middle-end/85602 - -Warray-bounds fails to detect the out of bound array access
authorMartin Sebor <msebor@redhat.com>
Tue, 19 Jun 2018 22:35:45 +0000 (22:35 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Tue, 19 Jun 2018 22:35:45 +0000 (16:35 -0600)
commitb5ebb71777112f2575c4abfc94439c7c9f13210e
tree518f9ef5ba978ce1e314d289d6ba5b5ba69bb930
parent180720a5619f319261b28871eb6228063c3b1164
PR middle-end/85602 - -Warray-bounds fails to detect the out of bound array access

gcc/testsuite/ChangeLog:
  * c-c++-common/attr-nonstring-8.c: Adjust text of expected warning
  to also match C++.

From-SVN: r261774
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Warray-bounds-28.c [new file with mode: 0644]