From: Iain Sandoe Date: Fri, 24 May 2019 07:05:25 +0000 (+0000) Subject: Darwin, x86, testsuite - Disable tests that cannot pass. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d61c31f1bf62ce6d54514ab2cbf89df3e69b5e5;p=gcc.git Darwin, x86, testsuite - Disable tests that cannot pass. 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. 2019-05-24 Iain Sandoe * gcc.target/i386/falign-functions-2.c: Skip for Darwin. * gcc.target/i386/pr70738-7.c: Likewise. * gcc.target/i386/pr24414.c: Likewise. From-SVN: r271589 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d39d7f1bc95..f82e7e2bfb4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,19 +1,25 @@ +2019-05-24 Iain Sandoe + + * gcc.target/i386/falign-functions-2.c: Skip for Darwin. + * gcc.target/i386/pr70738-7.c: Likewise. + * gcc.target/i386/pr24414.c: Likewise. + 2019-05-23 Iain Sandoe - * lib/target-supports.exp (check_effective_target_mfentry): New. - * gcc.target/i386/fentry-override.c: Require effective target mfentry. - * gcc/testsuite/gcc.target/i386/fentry.c: Likewise - * gcc.target/i386/fentryname1.c: Likewise - * gcc.target/i386/fentryname2.c: Likewise - * gcc.target/i386/fentryname3.c: Likewise - * gcc.target/i386/nop-mcount.c: Likewise - * gcc.target/i386/pr82699-2.c: Likewise - * gcc.target/i386/pr82699-4.c: Likewise - * gcc.target/i386/pr82699-5.c: Likewise - * gcc.target/i386/pr82699-6.c: Likewise - * gcc.target/i386/returninst1.c: Likewise - * gcc.target/i386/returninst2.c: Likewise - * gcc.target/i386/returninst3.c : Likewise + * lib/target-supports.exp (check_effective_target_mfentry): New. + * gcc.target/i386/fentry-override.c: Require effective target mfentry. + * gcc/testsuite/gcc.target/i386/fentry.c: Likewise + * gcc.target/i386/fentryname1.c: Likewise + * gcc.target/i386/fentryname2.c: Likewise + * gcc.target/i386/fentryname3.c: Likewise + * gcc.target/i386/nop-mcount.c: Likewise + * gcc.target/i386/pr82699-2.c: Likewise + * gcc.target/i386/pr82699-4.c: Likewise + * gcc.target/i386/pr82699-5.c: Likewise + * gcc.target/i386/pr82699-6.c: Likewise + * gcc.target/i386/returninst1.c: Likewise + * gcc.target/i386/returninst2.c: Likewise + * gcc.target/i386/returninst3.c : Likewise 2019-05-23 Bill Schmidt diff --git a/gcc/testsuite/gcc.target/i386/falign-functions-2.c b/gcc/testsuite/gcc.target/i386/falign-functions-2.c index 26d505e3bea..2672c87262f 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 bd12f0c8492..0acaa001a5c 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 2e5b49f619d..ee9dfbfb35f 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;