Darwin, x86, testsuite - Adjust test labels.
authorIain Sandoe <iain@sandoe.co.uk>
Fri, 24 May 2019 07:11:46 +0000 (07:11 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Fri, 24 May 2019 07:11:46 +0000 (07:11 +0000)
A couple of the i386.exp tests fail because the label spelling used
is different between ELF and Mach-O targets. Adjusted here.

2019-05-24  Iain Sandoe  <iain@sandoe.co.uk>

* gcc.target/i386/pr67985-2.c: Adjust label checks for
Darwin.
* gcc.target/i386/pr77881.c: Likewise.

From-SVN: r271590

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr67985-2.c
gcc/testsuite/gcc.target/i386/pr77881.c

index f82e7e2bfb467ef91b2a2b76c99c84bcb4147e22..33f4c7ddbced4e3f03e005020a5d4f7df730d75f 100644 (file)
@@ -1,3 +1,9 @@
+2019-05-24  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * gcc.target/i386/pr67985-2.c: Adjust label checks for
+       Darwin.
+       * gcc.target/i386/pr77881.c: Likewise.
+
 2019-05-24  Iain Sandoe  <iain@sandoe.co.uk>
 
        * gcc.target/i386/falign-functions-2.c: Skip for Darwin.
index 9c7a25ad177d3704e6cee1ddc03eec9684a484a6..a45815af66e0027cf97fa6cb4bb9887d271622fe 100644 (file)
@@ -10,4 +10,4 @@ foo (float x, float y)
 
 /* { dg-final { scan-assembler-not "mulss" } } */
 /* { dg-final { scan-assembler-not "movl\[ \t\].*, %eax" } } */
-/* { dg-final { scan-assembler "call\[ \t\]__mulsf3" } } */
+/* { dg-final { scan-assembler "call\[ \t\]_?__mulsf3" } } */
index 80d143f2bc50ce10c5f9d3edff54739b4c308d4c..6803341568fe2308c85d1459a64210af8b2ffcdc 100644 (file)
@@ -8,5 +8,5 @@ foo (long long int a, long long int a2, int b)
     if (a < 0 || b)
           baz ();
 }
-/* { dg-final { scan-assembler "js\[ \t\]\.L" } } */
-/* { dg-final { scan-assembler "jne\[ \t\]\.L" } } */
+/* { dg-final { scan-assembler "js\[ \t\]\.?L" } } */
+/* { dg-final { scan-assembler "jne\[ \t\]\.?L" } } */