From: Iain Sandoe Date: Sat, 1 Jun 2019 19:59:30 +0000 (+0000) Subject: Darwin, x86, testsuite - adjust tests for Darwin PR90698. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b86e91d9b2ce00edda93ed9ec36197df48e124c7;p=gcc.git Darwin, x86, testsuite - adjust tests for Darwin PR90698. 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 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0108097262b..bf406ae88f4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2019-06-01 Iain Sandoe + + 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 PR middle-end/90694 diff --git a/gcc/testsuite/gcc.target/i386/pr49866.c b/gcc/testsuite/gcc.target/i386/pr49866.c index 622c8f65625..7c80f13ca3a 100644 --- a/gcc/testsuite/gcc.target/i386/pr49866.c +++ b/gcc/testsuite/gcc.target/i386/pr49866.c @@ -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); diff --git a/gcc/testsuite/gcc.target/i386/pr61599-1.c b/gcc/testsuite/gcc.target/i386/pr61599-1.c index 71b1c2f02dd..52fea393d60 100644 --- a/gcc/testsuite/gcc.target/i386/pr61599-1.c +++ b/gcc/testsuite/gcc.target/i386/pr61599-1.c @@ -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" } */ diff --git a/gcc/testsuite/gcc.target/i386/pr63538.c b/gcc/testsuite/gcc.target/i386/pr63538.c index 7b979c35d81..87d5d3e040f 100644 --- a/gcc/testsuite/gcc.target/i386/pr63538.c +++ b/gcc/testsuite/gcc.target/i386/pr63538.c @@ -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* } } } } */