Skip to content

Commit

Permalink
jit, testsuite: fix a failing test by updating its error string [PR10…
Browse files Browse the repository at this point in the history
…7999]

gcc/testsuite/ChangeLog:
	PR jit/107999
	* jit.dg/test-error-array-bounds.c: Update test.

Signed-off-by: Guillaume Gomez <[email protected]>
  • Loading branch information
GuillaumeGomez authored and davidmalcolm committed Mar 2, 2023
1 parent 2639f9d commit 6b432c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcc/testsuite/jit.dg/test-error-array-bounds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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=]");
}

0 comments on commit 6b432c0

Please sign in to comment.