Darwin, x86, testsuite - adjust tests for Darwin PR90698.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 1 Jun 2019 19:59:30 +0000 (19:59 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sat, 1 Jun 2019 19:59:30 +0000 (19:59 +0000)
We don't have support for -mcmodel={medium, large, kernel} so don't
expect tests for those things to work.

For now mark them as xfail where possible and skip where that isn't.
These changes will be logged onto the PR and therefore can be backed
out when the facility is implemented.

gcc/testsuite/ChangeLog:

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

PR target/90698
* gcc.target/i386/pr49866.c: XFAIL for Darwin.
* gcc.target/i386/pr63538.c: Likewise.
* gcc.target/i386/pr61599-1.c: Skip for Darwin.

From-SVN: r271839

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr49866.c
gcc/testsuite/gcc.target/i386/pr61599-1.c
gcc/testsuite/gcc.target/i386/pr63538.c

index 0108097262b0a7bfbaee8a5122ee6601065d962d..bf406ae88f494964e2f6d590b3fc0542a493da48 100644 (file)
@@ -1,3 +1,10 @@
+2019-06-01  Iain Sandoe  <iain@sandoe.co.uk>
+
+       PR target/90698
+       * gcc.target/i386/pr49866.c: XFAIL for Darwin.
+       * gcc.target/i386/pr63538.c: Likewise.
+       * gcc.target/i386/pr61599-1.c: Skip for Darwin.
+
 2019-06-01  Martin Sebor  <msebor@redhat.com>
 
        PR middle-end/90694
index 622c8f656254b4ec993f4272383088e68208a076..7c80f13ca3a047727ef6855af3ec18f07886126b 100644 (file)
@@ -1,5 +1,6 @@
 /* PR target/49866 */
 /* { dg-do assemble { target lp64 } } */
+/* { dg-xfail-if "PR90698" { *-*-darwin* } } */
 /* { dg-options "-O2 -mcmodel=large"  } */
 
 void fn (void *, int, int);
index 71b1c2f02dd712c8b46ca15f88e4754a18ebf609..52fea393d60a9deb30ae629d057e30e887fedb93 100644 (file)
@@ -1,5 +1,6 @@
 /* PR target/61599 */
 /* { dg-do run { target lp64 } } */
+/* { dg-skip-if "PR90698" { *-*-darwin* } } */
 /* { dg-additional-sources pr61599-2.c } */
 /* { dg-options "-mcmodel=medium -fdata-sections" } */
 
index 7b979c35d81c1d8832445102730e4628462d646f..87d5d3e040fdadd59774f4fa668b5df9e0184a40 100644 (file)
@@ -9,5 +9,5 @@ char *foo ()
 {
   return str;
 }
-
-/* { dg-final { scan-assembler "movabs" } } */
+/* See PR90698 re. Darwin xfail.  */
+/* { dg-final { scan-assembler "movabs" { xfail { *-*-darwin* } } } } */