> On 24 May 2019, at 08:29, Iain Sandoe <i...@sandoe.co.uk> wrote: > > A few of the i386.exp target tests cannot pass on Darwin > because either the port doesn't support a feature, or the > ABI demands sufficiently different codegen that matching > the output with scan-asms would require a different test. > > Disabling those tests here. > > tested on x86_64-darwin and x86_64-linux > (--target_board=unix\{-m32,-m64\}\{,-fpic\}) > Applied to mainline, > Iain > > 2019-05-24 Iain Sandoe <i...@sandoe.co.uk> > > * gcc.target/i386/falign-functions-2.c: Skip for Darwin. > * gcc.target/i386/pr70738-7.c: Likewise. > * gcc.target/i386/pr24414.c: Likewise. >
ENOPATCH: diff --git a/gcc/testsuite/gcc.target/i386/falign-functions-2.c b/gcc/testsuite/gcc.target/i386/falign-functions-2.c index 26d505e3be..2672c87262 100644 --- a/gcc/testsuite/gcc.target/i386/falign-functions-2.c +++ b/gcc/testsuite/gcc.target/i386/falign-functions-2.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -falign-functions=64:8" } */ +/* { dg-skip-if "SUBALIGN_LOG not set for Darwin" { *-*-darwin* } } */ void a (void) diff --git a/gcc/testsuite/gcc.target/i386/pr24414.c b/gcc/testsuite/gcc.target/i386/pr24414.c index bd12f0c849..0acaa001a5 100644 --- a/gcc/testsuite/gcc.target/i386/pr24414.c +++ b/gcc/testsuite/gcc.target/i386/pr24414.c @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-options "-O2" } */ +/* { dg-skip-if "asm insert mismatches ABI for Darwin" { *-*-darwin* } } */ int test; int diff --git a/gcc/testsuite/gcc.target/i386/pr70738-7.c b/gcc/testsuite/gcc.target/i386/pr70738-7.c index 2e5b49f619..ee9dfbfb35 100644 --- a/gcc/testsuite/gcc.target/i386/pr70738-7.c +++ b/gcc/testsuite/gcc.target/i386/pr70738-7.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target ia32 } } */ +/* { dg-do compile { target { ia32 && { ! *-*-darwin* } } } } */ /* { dg-options "-msse2 -mgeneral-regs-only" } */ extern float a, b, c; -- 2.17.1