aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2023-10-28 19:22:27 +0100
committerIain Sandoe <iain@sandoe.co.uk>2023-10-29 07:07:07 +0000
commit78491bee704292d83ac7eb603eb07680eeb68fb3 (patch)
treec27f4036f8cc9af5f1289b08c7913818d5e4a8a9
parentd96757842a13cad3500b74a352ab34d27a8be622 (diff)
downloadgcc-78491bee704292d83ac7eb603eb07680eeb68fb3.zip
gcc-78491bee704292d83ac7eb603eb07680eeb68fb3.tar.gz
gcc-78491bee704292d83ac7eb603eb07680eeb68fb3.tar.bz2
testsuite, X86, Darwin: Skip tests with incompatible output.
Darwin platforms do not currently emit .cfi_xxx instructions so that these tests do not work there. gcc/testsuite/ChangeLog: * gcc.target/i386/apx-interrupt-1.c: Skip for Darwin. * gcc.target/i386/apx-push2pop2-1.c: Likewise. * gcc.target/i386/apx-push2pop2_force_drap-1.c: Likewise. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
-rw-r--r--gcc/testsuite/gcc.target/i386/apx-interrupt-1.c1
-rw-r--r--gcc/testsuite/gcc.target/i386/apx-push2pop2-1.c1
-rw-r--r--gcc/testsuite/gcc.target/i386/apx-push2pop2_force_drap-1.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/apx-interrupt-1.c b/gcc/testsuite/gcc.target/i386/apx-interrupt-1.c
index dc1fc3f..5f732d3 100644
--- a/gcc/testsuite/gcc.target/i386/apx-interrupt-1.c
+++ b/gcc/testsuite/gcc.target/i386/apx-interrupt-1.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target { ! ia32 } } } */
/* { dg-options "-mapxf -m64 -O2 -mgeneral-regs-only -mno-cld -mno-push-args -maccumulate-outgoing-args" } */
+/* { dg-skip-if "does not emit .cfi_xxx" "*-*-darwin*" } */
extern void foo (void *) __attribute__ ((interrupt));
extern int bar (int);
diff --git a/gcc/testsuite/gcc.target/i386/apx-push2pop2-1.c b/gcc/testsuite/gcc.target/i386/apx-push2pop2-1.c
index c7968d6..089941d 100644
--- a/gcc/testsuite/gcc.target/i386/apx-push2pop2-1.c
+++ b/gcc/testsuite/gcc.target/i386/apx-push2pop2-1.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target { ! ia32 } } } */
/* { dg-options "-O2 -mapxf" } */
+/* { dg-skip-if "does not emit .cfi_xxx" "*-*-darwin*" } */
extern int bar (int);
diff --git a/gcc/testsuite/gcc.target/i386/apx-push2pop2_force_drap-1.c b/gcc/testsuite/gcc.target/i386/apx-push2pop2_force_drap-1.c
index 3878799..656ca91 100644
--- a/gcc/testsuite/gcc.target/i386/apx-push2pop2_force_drap-1.c
+++ b/gcc/testsuite/gcc.target/i386/apx-push2pop2_force_drap-1.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target { ! ia32 } } } */
/* { dg-options "-O2 -mapxf -mforce-drap" } */
+/* { dg-skip-if "does not emit .cfi_xxx" "*-*-darwin*" } */
#include "apx-push2pop2-1.c"