aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2023-03-02 17:52:07 -0500
committerDavid Malcolm <dmalcolm@redhat.com>2023-03-02 17:52:45 -0500
commit6b432c0f777ab9b8436fb07f71de6ea4d259b869 (patch)
treeb74bc4d7f87ce891275a904b086178cd143ba845 /gcc
parent2639f9d2313664e6b4ed2f8131fefa60aeeb0518 (diff)
downloadgcc-6b432c0f777ab9b8436fb07f71de6ea4d259b869.zip
gcc-6b432c0f777ab9b8436fb07f71de6ea4d259b869.tar.gz
gcc-6b432c0f777ab9b8436fb07f71de6ea4d259b869.tar.bz2
jit, testsuite: fix a failing test by updating its error string [PR107999]
gcc/testsuite/ChangeLog: PR jit/107999 * jit.dg/test-error-array-bounds.c: Update test. Signed-off-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/jit.dg/test-error-array-bounds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/jit.dg/test-error-array-bounds.c b/gcc/testsuite/jit.dg/test-error-array-bounds.c
index b6c0ee5..a0dead1 100644
--- a/gcc/testsuite/jit.dg/test-error-array-bounds.c
+++ b/gcc/testsuite/jit.dg/test-error-array-bounds.c
@@ -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=]");
}