Darwin, x86, testsuite - Disable tests that cannot pass.
authorIain Sandoe <iain@sandoe.co.uk>
Fri, 24 May 2019 07:05:25 +0000 (07:05 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Fri, 24 May 2019 07:05:25 +0000 (07:05 +0000)
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  <iain@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.

From-SVN: r271589

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/falign-functions-2.c
gcc/testsuite/gcc.target/i386/pr24414.c
gcc/testsuite/gcc.target/i386/pr70738-7.c

index d39d7f1bc957c2fcf62af3ed5f730bcfc5169fe4..f82e7e2bfb467ef91b2a2b76c99c84bcb4147e22 100644 (file)
@@ -1,19 +1,25 @@
+2019-05-24  Iain Sandoe  <iain@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.
+
 2019-05-23  Iain Sandoe  <iain@sandoe.co.uk>
 
-       * 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  <wschmidt@linux.ibm.com>
 
index 26d505e3bea39841d8ddbb068f13832e26eb0a2c..2672c87262fd1fcb7aca8b325adb99e13609e036 100644 (file)
@@ -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)
index bd12f0c849207fa7c22c00d30eb9c17a30d30420..0acaa001a5c8ad21da7adfd0ac5dbf317d9905f5 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do run } */
 /* { dg-options "-O2" } */
+/* { dg-skip-if "asm insert mismatches ABI for Darwin" { *-*-darwin* } } */
 int test;
 
 int
index 2e5b49f619de8e7b37a37b58cbd40df576c9c5d7..ee9dfbfb35fecae865e4666762cad0148d2a3ba3 100644 (file)
@@ -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;