]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
jit, testsuite: fix a failing test by updating its error string [PR107999]
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Thu, 2 Mar 2023 22:52:07 +0000 (17:52 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Thu, 2 Mar 2023 22:52:45 +0000 (17:52 -0500)
gcc/testsuite/ChangeLog:
PR jit/107999
* jit.dg/test-error-array-bounds.c: Update test.

Signed-off-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
gcc/testsuite/jit.dg/test-error-array-bounds.c

index b6c0ee526d41ead425c88fbbb04a0eb0f144968a..a0dead13cb74902d3d1e5a8f8c45012584a02112 100644 (file)
@@ -70,5 +70,5 @@ verify_code (gcc_jit_context *ctxt, gcc_jit_result *result)
   /* ...and that the message was captured by the API.  */
   CHECK_STRING_VALUE (gcc_jit_context_get_first_error (ctxt),
                      "array subscript 10 is above array bounds of"
-                     " 'char[10]' [-Warray-bounds]");
+                     " 'char[10]' [-Warray-bounds=]");
 }