[gcc r13-6425] jit, testsuite: fix a failing test by updating its error string [PR107999]
David Malcolm
dmalcolm@gcc.gnu.org
Thu Mar 2 22:53:10 GMT 2023
https://gcc.gnu.org/g:6b432c0f777ab9b8436fb07f71de6ea4d259b869
commit r13-6425-g6b432c0f777ab9b8436fb07f71de6ea4d259b869
Author: Guillaume Gomez <guillaume1.gomez@gmail.com>
Date: Thu Mar 2 17:52:07 2023 -0500
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>
Diff:
---
gcc/testsuite/jit.dg/test-error-array-bounds.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/jit.dg/test-error-array-bounds.c b/gcc/testsuite/jit.dg/test-error-array-bounds.c
index b6c0ee526d4..a0dead13cb7 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=]");
}
More information about the Gcc-cvs
mailing list