jit: update test suite for change to -Warray-bounds
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 22 Nov 2017 21:12:36 +0000 (21:12 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Wed, 22 Nov 2017 21:12:36 +0000 (21:12 +0000)
commitd54387158acafe1272e7877a16149ae53d3b5a3b
tree332cad24f2b43c49055e309fdd7d573805bbbead
parent1324d3f33e0a4bd26fafdcafdce2f55bb4b45295
jit: update test suite for change to -Warray-bounds

jit.dg/test-error-array-bounds.c is a test of how libgccjit
handles errors coming from the middle-end, using -Warray-bounds as
an example.

It started failing as of r254830 (aka 987b3316c4e7c908e3c7d2151c20971f9707ad66),
due to that commit changing the wording of the message.

This commit fixes the jit testcase by updating it to use the new
wording.

gcc/testsuite/ChangeLog:
PR tree-optimization/82588
PR tree-optimization/82583
* jit.dg/test-error-array-bounds.c (verify_code): Update expected
error message from -Warray-bounds.

From-SVN: r255082
gcc/testsuite/ChangeLog
gcc/testsuite/jit.dg/test-error-array-bounds.c