From: Iain Sandoe Date: Fri, 24 May 2019 07:11:46 +0000 (+0000) Subject: Darwin, x86, testsuite - Adjust test labels. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ef1d2e235e7990e499c91fcc7760e681c242983;p=gcc.git Darwin, x86, testsuite - Adjust test labels. 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 * gcc.target/i386/pr67985-2.c: Adjust label checks for Darwin. * gcc.target/i386/pr77881.c: Likewise. From-SVN: r271590 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f82e7e2bfb4..33f4c7ddbce 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-05-24 Iain Sandoe + + * gcc.target/i386/pr67985-2.c: Adjust label checks for + Darwin. + * gcc.target/i386/pr77881.c: Likewise. + 2019-05-24 Iain Sandoe * gcc.target/i386/falign-functions-2.c: Skip for Darwin. diff --git a/gcc/testsuite/gcc.target/i386/pr67985-2.c b/gcc/testsuite/gcc.target/i386/pr67985-2.c index 9c7a25ad177..a45815af66e 100644 --- a/gcc/testsuite/gcc.target/i386/pr67985-2.c +++ b/gcc/testsuite/gcc.target/i386/pr67985-2.c @@ -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" } } */ diff --git a/gcc/testsuite/gcc.target/i386/pr77881.c b/gcc/testsuite/gcc.target/i386/pr77881.c index 80d143f2bc5..6803341568f 100644 --- a/gcc/testsuite/gcc.target/i386/pr77881.c +++ b/gcc/testsuite/gcc.target/i386/pr77881.c @@ -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" } } */