Commit 22424617 by Iain Sandoe Committed by Iain Sandoe

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  <iain@sandoe.co.uk>

	* 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
parent f1b2727f
2018-12-24 Iain Sandoe <iain@sandoe.co.uk>
* 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 <pault@gcc.gnu.org> 2018-12-23 Paul Thomas <pault@gcc.gnu.org>
PR fortran/77703 PR fortran/77703
......
/* PR testsuite/52665 /* PR testsuite/52665
* Make sure scan-assembler-not turns off .ident */ * Make sure scan-assembler-not turns off .ident */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-skip-if "no assembler .ident support" { powerpc*-*-darwin* } } */
int i; int i;
/* { dg-final { scan-assembler-not "GCC: " } } */ /* { dg-final { scan-assembler-not "GCC: " } } */
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
* Make sure scan-assembler-not turns off .ident unless -fident in testcase */ * Make sure scan-assembler-not turns off .ident unless -fident in testcase */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-fident" } */ /* { dg-options "-fident" } */
/* { dg-skip-if "no assembler .ident support" { powerpc*-*-darwin* } } */
int i; int i;
/* { dg-final { scan-assembler-not "GCC: " { xfail *-*-* } } } */ /* { dg-final { scan-assembler-not "GCC: " { xfail *-*-* } } } */
......
/* PR testsuite/52665 /* PR testsuite/52665
* Make sure scan-assembler turns off .ident */ * Make sure scan-assembler turns off .ident */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-skip-if "no assembler .ident support" { powerpc*-*-darwin* } } */
int i; int i;
/* { dg-final { scan-assembler "GCC: " { xfail *-*-* } } } */ /* { dg-final { scan-assembler "GCC: " { xfail *-*-* } } } */
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
* Make sure scan-assembler turns off .ident unless -fident in testcase */ * Make sure scan-assembler turns off .ident unless -fident in testcase */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-fident" } */ /* { dg-options "-fident" } */
/* { dg-skip-if "no assembler .ident support" { powerpc*-*-darwin* } } */
int i; int i;
/* { dg-final { scan-assembler "GCC: " } } */ /* { dg-final { scan-assembler "GCC: " } } */
/* PR testsuite/52665 /* PR testsuite/52665
* Make sure scan-assembler-times turns off .ident */ * Make sure scan-assembler-times turns off .ident */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-skip-if "no assembler .ident support" { powerpc*-*-darwin* } } */
int i; int i;
/* { dg-final { scan-assembler-times "GCC: " 0 } } */ /* internal test, keep -times 0 ! */ /* { dg-final { scan-assembler-times "GCC: " 0 } } */ /* internal test, keep -times 0 ! */
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
* Make sure scan-assembler-times turns off .ident unless -fident in testcase */ * Make sure scan-assembler-times turns off .ident unless -fident in testcase */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-fident" } */ /* { dg-options "-fident" } */
/* { dg-skip-if "no assembler .ident support" { powerpc*-*-darwin* } } */
int ident; int ident;
/* { dg-final { scan-assembler-times "GCC: " 1 } } */ /* { dg-final { scan-assembler-times "GCC: " 1 } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment