]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Darwin, X86, testsuite] Disable tests that cannot pass.
authorIain Sandoe <iain@sandoe.co.uk>
Mon, 9 Sep 2019 19:58:23 +0000 (19:58 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Mon, 9 Sep 2019 19:58:23 +0000 (19:58 +0000)
Some 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.  Skip these.

2019-09-09  Iain Sandoe  <iain@sandoe.co.uk>

Backport from mainline.
2019-05-24  Iain Sandoe  <iain@sandoe.co.uk>

* gcc.target/i386/pr70738-7.c: Skip for Darwin.
* gcc.target/i386/pr24414.c: Likewise.

From-SVN: r275542

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

index 24272ee404cb785ab76e72893248b4d2a73954d1..28f58b26101b514e3182112c7754f90b8121f565 100644 (file)
@@ -1,3 +1,11 @@
+2019-09-09  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backport from mainline.
+       2019-05-24  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * gcc.target/i386/pr70738-7.c: Likewise.
+       * gcc.target/i386/pr24414.c: Likewise.
+
 2019-09-09  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/87853
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;