[newlib-cygwin/main] Cygwin: fix syntax error in cpu_relax.h for AArch64

Corinna Vinschen via Cygwin-cvs <[email protected]>
Newsgroups gmane.os.cygwin.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=42d3f122a2ef2d70383f83f43971c7a2dc38d7ed

commit 42d3f122a2ef2d70383f83f43971c7a2dc38d7ed
Author:     Radek Bartoň <[email protected]>
AuthorDate: Sat Jun 21 22:47:58 2025 +0200
Commit:     Corinna Vinschen <[email protected]>
CommitDate: Tue Jun 24 17:55:09 2025 +0200

    Cygwin: fix syntax error in cpu_relax.h for AArch64
    
    Signed-off-by: Radek Bartoň <[email protected]>

Diff:
---
 winsup/testsuite/winsup.api/pthread/cpu_relax.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/winsup/testsuite/winsup.api/pthread/cpu_relax.h b/winsup/testsuite/winsup.api/pthread/cpu_relax.h
index 71cec0b2b722..c31ef8c050e6 100644
--- a/winsup/testsuite/winsup.api/pthread/cpu_relax.h
+++ b/winsup/testsuite/winsup.api/pthread/cpu_relax.h
@@ -4,8 +4,8 @@
 #if defined(__x86_64__) || defined(__i386__)  // Check for x86 architectures
    #define CPU_RELAX() __asm__ volatile ("pause" :::)
 #elif defined(__aarch64__) || defined(__arm__)  // Check for ARM architectures
-   #define CPU_RELAX() __asm__ volatile ("dmb ishst \
-                                          yield" :::)
+   #define CPU_RELAX() __asm__ volatile ("dmb ishst\n" \
+                                         "yield" :::)
 #else
    #error unimplemented for this target
 #endif
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.