public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-10357] testsuite, jit: Handle whitespace in test-link-section-assembler.c.
@ 2024-04-20 14:43 Iain D Sandoe
0 siblings, 0 replies; only message in thread
From: Iain D Sandoe @ 2024-04-20 14:43 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:12e4b9ce523bd60acfb3d5567e493822fcdcf698
commit r12-10357-g12e4b9ce523bd60acfb3d5567e493822fcdcf698
Author: Iain Sandoe <iain@sandoe.co.uk>
Date: Sat Jan 13 12:49:28 2024 +0000
testsuite, jit: Handle whitespace in test-link-section-assembler.c.
Darwin has a different .section directive that has more fields and
uses different whitespace. Amend the whitespace in the scan-asm to
be more flexible.
gcc/testsuite/ChangeLog:
* jit.dg/test-link-section-assembler.c: Accept any whitespace
between the .section directive and its arguments.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
(cherry picked from commit 2b0abfd3f8dbe3e9af79bb6bdc06d727d36f1946)
Diff:
---
gcc/testsuite/jit.dg/test-link-section-assembler.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/jit.dg/test-link-section-assembler.c b/gcc/testsuite/jit.dg/test-link-section-assembler.c
index a90b00e9a82..a78e9fd26ef 100644
--- a/gcc/testsuite/jit.dg/test-link-section-assembler.c
+++ b/gcc/testsuite/jit.dg/test-link-section-assembler.c
@@ -34,4 +34,4 @@ create_code (gcc_jit_context *ctxt, void *user_data)
}
/* { dg-final { jit-verify-output-file-was-created "" } } */
-/* { dg-final { jit-verify-assembler-output ".section .my_section" } } */
+/* { dg-final { jit-verify-assembler-output ".section\\s.my_section" } } */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-20 14:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-20 14:43 [gcc r12-10357] testsuite, jit: Handle whitespace in test-link-section-assembler.c Iain D Sandoe
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).