[gcc r17-3294] testsuite, X86: Fix missing U_L_P on pr126293-1b.c.

Iain D Sandoe via Gcc-cvs <[email protected]>
Newsgroups gmane.comp.gcc.cvs
Message-ID <[email protected]>
https://gcc.gnu.org/g:dcf34067a80904e66a91db127f39f27fdb1b6ee5

commit r17-3294-gdcf34067a80904e66a91db127f39f27fdb1b6ee5
Author: Iain Sandoe <[email protected]>
Date:   Fri Aug 14 15:14:12 2026 +0100

    testsuite, X86: Fix missing U_L_P on pr126293-1b.c.
    
    These new tests were failing on darwin because of the missing user
    label prefix.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.target/i386/pr126293-1b.c: Account for USER_LABEL_PREFIX.
            * gcc.target/i386/pr126293-1c.c: Likwise.
    
    Signed-off-by: Iain Sandoe <[email protected]>

Diff:
---
 gcc/testsuite/gcc.target/i386/pr126293-1b.c | 4 ++--
 gcc/testsuite/gcc.target/i386/pr126293-1c.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gcc/testsuite/gcc.target/i386/pr126293-1b.c b/gcc/testsuite/gcc.target/i386/pr126293-1b.c
index bbd74e4c73ab..5b2cee4892ca 100644
--- a/gcc/testsuite/gcc.target/i386/pr126293-1b.c
+++ b/gcc/testsuite/gcc.target/i386/pr126293-1b.c
@@ -1,6 +1,6 @@
 /* { dg-do compile { target { ! ia32 } } } */
 /* { dg-additional-options "-O2 -march=x86-64 -mno-cx16 -m128bit-atomic" } */
-/* { dg-final { scan-assembler-times "call\[ \\t\]+__atomic_fetch_" 4 } } */
-/* { dg-final { scan-assembler-times "jmp\[ \\t\]+__atomic_fetch_" 4 } } */
+/* { dg-final { scan-assembler-times "call\[ \\t\]+_?__atomic_fetch_" 4 } } */
+/* { dg-final { scan-assembler-times "jmp\[ \\t\]+_?__atomic_fetch_" 4 } } */
 
 #include "pr126293-1a.c"
diff --git a/gcc/testsuite/gcc.target/i386/pr126293-1c.c b/gcc/testsuite/gcc.target/i386/pr126293-1c.c
index 85fe25cae8b1..da303fe70d3c 100644
--- a/gcc/testsuite/gcc.target/i386/pr126293-1c.c
+++ b/gcc/testsuite/gcc.target/i386/pr126293-1c.c
@@ -1,6 +1,6 @@
 /* { dg-do compile { target { ! ia32 } } } */
 /* { dg-additional-options "-O2 -march=x86-64 -m128bit-atomic -mno-cx16" } */
-/* { dg-final { scan-assembler-times "call\[ \\t\]+__atomic_fetch_" 4 } } */
-/* { dg-final { scan-assembler-times "jmp\[ \\t\]+__atomic_fetch_" 4 } } */
+/* { dg-final { scan-assembler-times "call\[ \\t\]+_?__atomic_fetch_" 4 } } */
+/* { dg-final { scan-assembler-times "jmp\[ \\t\]+_?__atomic_fetch_" 4 } } */
 
 #include "pr126293-1a.c"
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.