jit: update test suite for change to -Warray-bounds
commit5f75b10583b265b568f829e2f6801dcb28c8ac79
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Nov 2017 21:12:36 +0000 (22 21:12 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Nov 2017 21:12:36 +0000 (22 21:12 +0000)
tree332cad24f2b43c49055e309fdd7d573805bbbead
parentab8f82095e30a1686a5a20255f9951611e91ab93
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255082 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/jit.dg/test-error-array-bounds.c