[pushed] testsuite, X86: Fix missing U_L_P on pr126293-1b+c.

Iain Sandoe <[email protected]>
Newsgroups gmane.comp.gcc.patches
Message-ID <[email protected]>
Tested on x86_64-darwin, pushed as obvious, thanks, 
Iain

--- 8< ---

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]>
---
 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 bbd74e4c73a..5b2cee4892c 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 85fe25cae8b..da303fe70d3 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"
-- 
2.50.1 (Apple Git-155)
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.