public inbox for jit@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] libgccjit: Fix a failing test
@ 2022-12-14 13:39 Guillaume Gomez
  2022-12-14 15:12 ` Antoni Boucher
  0 siblings, 1 reply; 14+ messages in thread
From: Guillaume Gomez @ 2022-12-14 13:39 UTC (permalink / raw)
  To: gcc-patches, jit


[-- Attachment #1.1: Type: text/plain, Size: 63 bytes --]

Hi,

This fixes bug 107999.

Thanks in advance for the review.

[-- Attachment #2: 0001-Fix-a-failing-test-by-updating-its-error-string.patch --]
[-- Type: text/x-patch, Size: 1018 bytes --]

From e6db0cb107e54789095f4585dd279a2c984d2ca1 Mon Sep 17 00:00:00 2001
From: Guillaume Gomez <guillaume1.gomez@gmail.com>
Date: Wed, 14 Dec 2022 14:28:22 +0100
Subject: [PATCH] Fix a failing test by updating its error string.

gcc/testsuite/ChangeLog:

	* jit.dg/test-error-array-bounds.c: Update test.
---
 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=]");
 }
-- 
2.34.1


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-03-03  9:31 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-14 13:39 [PATCH] libgccjit: Fix a failing test Guillaume Gomez
2022-12-14 15:12 ` Antoni Boucher
2022-12-15  7:34   ` Guillaume Gomez
2022-12-24 20:01     ` Guillaume Gomez
2023-01-05 22:37       ` Guillaume Gomez
2023-01-16 14:08         ` Guillaume Gomez
2023-03-02 19:41           ` Guillaume Gomez
2023-03-02 21:58     ` David Malcolm
2023-03-02 22:19       ` Guillaume Gomez
2023-03-02 22:29         ` Guillaume Gomez
2023-03-02 22:33           ` David Malcolm
2023-03-02 22:35             ` Guillaume Gomez
2023-03-02 22:54               ` David Malcolm
2023-03-03  9:31                 ` Guillaume Gomez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).