Tested on x86_64-linux, darwin, pushed to trunk,
thanks,
Iain

--- 8< ---

The new test fails on Darwin because constant labels may also be
introduced with 'lC' where we require them to be linker-visible.

gcc/testsuite/ChangeLog:

        * gcc.target/i386/fabsneg-2.c: Allow for lC* in Mach-O.

Signed-off-by: Iain Sandoe <[email protected]>
---
 gcc/testsuite/gcc.target/i386/fabsneg-2.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.target/i386/fabsneg-2.c 
b/gcc/testsuite/gcc.target/i386/fabsneg-2.c
index dd40c755a49..95906ddd71e 100644
--- a/gcc/testsuite/gcc.target/i386/fabsneg-2.c
+++ b/gcc/testsuite/gcc.target/i386/fabsneg-2.c
@@ -19,5 +19,5 @@ void bar()
   z = __builtin_fabsf(z);
 }
 
-/* { dg-final { scan-assembler-times "LC0\[,(\]" 1 } } */
-/* { dg-final { scan-assembler-times "LC1\[,(\]" 1 } } */
+/* { dg-final { scan-assembler-times "\[lL\]C0\[,(\]" 1 } } */
+/* { dg-final { scan-assembler-times "\[lL\]C1\[,(\]" 1 } } */
-- 
2.50.1 (Apple Git-155)

Reply via email to