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
+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
/* PR target/49866 */
/* { dg-do assemble { target lp64 } } */
+/* { dg-xfail-if "PR90698" { *-*-darwin* } } */
/* { dg-options "-O2 -mcmodel=large" } */
void fn (void *, int, int);
/* 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" } */
{
return str;
}
-
-/* { dg-final { scan-assembler "movabs" } } */
+/* See PR90698 re. Darwin xfail. */
+/* { dg-final { scan-assembler "movabs" { xfail { *-*-darwin* } } } } */