From: Iain Sandoe Date: Mon, 24 Dec 2018 08:55:01 +0000 (+0000) Subject: powerpc-darwin, skip ident tests. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=224246175fca6e27015b14afe1dadbc2fe88a4c9;p=gcc.git powerpc-darwin, skip ident tests. The c-c++-common tests fail (or XPASS depending on which) on powerpc Darwin because it doesn't currently emit .ident marker. Since there's no support for .ident in the assembler, we can't enable the output and therefore these tests should be skipped. 2018-12-24 Iain Sandoe * c-c++-common/ident-0a.c: Skip for powerpc-darwin. * c-c++-common/ident-0b.c: Likewise. * c-c++-common/ident-1a.c: Likewise. * c-c++-common/ident-1b.c: Likewise. * c-c++-common/ident-2a.c: Likewise. * c-c++-common/ident-2b.c: Likewise. From-SVN: r267394 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a469ec9e689..bbbf37af5a3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2018-12-24 Iain Sandoe + + * c-c++-common/ident-0a.c: Skip for powerpc-darwin. + * c-c++-common/ident-0b.c: Likewise. + * c-c++-common/ident-1a.c: Likewise. + * c-c++-common/ident-1b.c: Likewise. + * c-c++-common/ident-2a.c: Likewise. + * c-c++-common/ident-2b.c: Likewise. + 2018-12-23 Paul Thomas PR fortran/77703 diff --git a/gcc/testsuite/c-c++-common/ident-0a.c b/gcc/testsuite/c-c++-common/ident-0a.c index 900d206bad7..13bc6284de2 100644 --- a/gcc/testsuite/c-c++-common/ident-0a.c +++ b/gcc/testsuite/c-c++-common/ident-0a.c @@ -1,6 +1,7 @@ /* PR testsuite/52665 * Make sure scan-assembler-not turns off .ident */ /* { dg-do compile } */ +/* { dg-skip-if "no assembler .ident support" { powerpc*-*-darwin* } } */ int i; /* { dg-final { scan-assembler-not "GCC: " } } */ diff --git a/gcc/testsuite/c-c++-common/ident-0b.c b/gcc/testsuite/c-c++-common/ident-0b.c index e08126d2d23..1184f8ff1c0 100644 --- a/gcc/testsuite/c-c++-common/ident-0b.c +++ b/gcc/testsuite/c-c++-common/ident-0b.c @@ -2,6 +2,7 @@ * Make sure scan-assembler-not turns off .ident unless -fident in testcase */ /* { dg-do compile } */ /* { dg-options "-fident" } */ +/* { dg-skip-if "no assembler .ident support" { powerpc*-*-darwin* } } */ int i; /* { dg-final { scan-assembler-not "GCC: " { xfail *-*-* } } } */ diff --git a/gcc/testsuite/c-c++-common/ident-1a.c b/gcc/testsuite/c-c++-common/ident-1a.c index 867ee43fb26..b6003735cef 100644 --- a/gcc/testsuite/c-c++-common/ident-1a.c +++ b/gcc/testsuite/c-c++-common/ident-1a.c @@ -1,6 +1,7 @@ /* PR testsuite/52665 * Make sure scan-assembler turns off .ident */ /* { dg-do compile } */ +/* { dg-skip-if "no assembler .ident support" { powerpc*-*-darwin* } } */ int i; /* { dg-final { scan-assembler "GCC: " { xfail *-*-* } } } */ diff --git a/gcc/testsuite/c-c++-common/ident-1b.c b/gcc/testsuite/c-c++-common/ident-1b.c index 2431086d247..b0d88983f3c 100644 --- a/gcc/testsuite/c-c++-common/ident-1b.c +++ b/gcc/testsuite/c-c++-common/ident-1b.c @@ -2,6 +2,7 @@ * Make sure scan-assembler turns off .ident unless -fident in testcase */ /* { dg-do compile } */ /* { dg-options "-fident" } */ +/* { dg-skip-if "no assembler .ident support" { powerpc*-*-darwin* } } */ int i; /* { dg-final { scan-assembler "GCC: " } } */ diff --git a/gcc/testsuite/c-c++-common/ident-2a.c b/gcc/testsuite/c-c++-common/ident-2a.c index 131b8676281..e9321c72926 100644 --- a/gcc/testsuite/c-c++-common/ident-2a.c +++ b/gcc/testsuite/c-c++-common/ident-2a.c @@ -1,6 +1,7 @@ /* PR testsuite/52665 * Make sure scan-assembler-times turns off .ident */ /* { dg-do compile } */ +/* { dg-skip-if "no assembler .ident support" { powerpc*-*-darwin* } } */ int i; /* { dg-final { scan-assembler-times "GCC: " 0 } } */ /* internal test, keep -times 0 ! */ diff --git a/gcc/testsuite/c-c++-common/ident-2b.c b/gcc/testsuite/c-c++-common/ident-2b.c index a21e25fcceb..e057fac7474 100644 --- a/gcc/testsuite/c-c++-common/ident-2b.c +++ b/gcc/testsuite/c-c++-common/ident-2b.c @@ -2,6 +2,7 @@ * Make sure scan-assembler-times turns off .ident unless -fident in testcase */ /* { dg-do compile } */ /* { dg-options "-fident" } */ +/* { dg-skip-if "no assembler .ident support" { powerpc*-*-darwin* } } */ int ident; /* { dg-final { scan-assembler-times "GCC: " 1 } } */