aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2019-06-24 19:36:56 +0000
committerIain Sandoe <iains@gcc.gnu.org>2019-06-24 19:36:56 +0000
commitcd57f4d81bdefeca6133dc52db8b7832a867686b (patch)
treec01cc6bf5d36be0b827d1b5693aa97e8e0e8b462
parent4de1ded224ff859de7801419bbce159354bc3426 (diff)
downloadgcc-cd57f4d81bdefeca6133dc52db8b7832a867686b.zip
gcc-cd57f4d81bdefeca6133dc52db8b7832a867686b.tar.gz
gcc-cd57f4d81bdefeca6133dc52db8b7832a867686b.tar.bz2
[Darwin, PPC, testsuite] Skip tests for unimplemented functionality.
The -mno-speculate-indirect-jumps functionality is not implemented for Darwin and, given that it's deprecated, is unlikely to be. 2019-06-24 Iain Sandoe <iain@sandoe.co.uk> * gcc.target/powerpc/safe-indirect-jump-1.c: Skip for Darwin. * gcc.target/powerpc/safe-indirect-jump-7.c: Likewise. From-SVN: r272627
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-1.c1
-rw-r--r--gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-7.c1
3 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index c3f23d9..b287208 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2019-06-24 Iain Sandoe <iain@sandoe.co.uk>
+ * gcc.target/powerpc/safe-indirect-jump-1.c: Skip for Darwin.
+ * gcc.target/powerpc/safe-indirect-jump-7.c: Likewise.
+
+2019-06-24 Iain Sandoe <iain@sandoe.co.uk>
+
* gcc.target/powerpc/spec-barr-1.c: Adjust scan assembler regex
to recognise Darwin's register names.
diff --git a/gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-1.c b/gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-1.c
index 16ccfe4..b9ad8c1 100644
--- a/gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-1.c
+++ b/gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-1.c
@@ -1,4 +1,5 @@
/* { dg-do compile } */
+/* { dg-skip-if "not implemented for Darwin" { powerpc*-*-darwin* } } */
/* { dg-additional-options "-mno-speculate-indirect-jumps" } */
/* { dg-warning "'-mno-speculate-indirect-jumps' is deprecated" "" { target *-*-* } 0 } */
diff --git a/gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-7.c b/gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-7.c
index e7d81d4..a316e66 100644
--- a/gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-7.c
+++ b/gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-7.c
@@ -1,4 +1,5 @@
/* { dg-do compile } */
+/* { dg-skip-if "not implemented for Darwin" { powerpc*-*-darwin* } } */
/* { dg-additional-options "-mno-speculate-indirect-jumps" } */
/* { dg-warning "'-mno-speculate-indirect-jumps' is deprecated" "" { target *-*-* } 0 } */