]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite, X86, Darwin: Skip tests with incompatible output.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 28 Oct 2023 18:22:27 +0000 (19:22 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Sun, 29 Oct 2023 07:07:07 +0000 (07:07 +0000)
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>
gcc/testsuite/gcc.target/i386/apx-interrupt-1.c
gcc/testsuite/gcc.target/i386/apx-push2pop2-1.c
gcc/testsuite/gcc.target/i386/apx-push2pop2_force_drap-1.c

index dc1fc3fe37385d2e212845aa8a12e3d37206d5f3..5f732d3e3160447e379e3f0c0ebc078428ed01e8 100644 (file)
@@ -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);
index c7968d674e5496f2c13b139f10b6baa3eb2cd3c5..089941d3726b49f85a37a679f64e28652efca7f3 100644 (file)
@@ -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);
 
index 387879902885e4c2777f16b0c8f9165d4221e7b8..656ca91391ae1d35ecd0dd62a231c7b762d9842e 100644 (file)
@@ -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"