Commit b86e91d9 by Iain Sandoe Committed by Iain Sandoe

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  <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
parent f325e752
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> 2019-06-01 Martin Sebor <msebor@redhat.com>
PR middle-end/90694 PR middle-end/90694
......
/* PR target/49866 */ /* PR target/49866 */
/* { dg-do assemble { target lp64 } } */ /* { dg-do assemble { target lp64 } } */
/* { dg-xfail-if "PR90698" { *-*-darwin* } } */
/* { dg-options "-O2 -mcmodel=large" } */ /* { dg-options "-O2 -mcmodel=large" } */
void fn (void *, int, int); void fn (void *, int, int);
......
/* PR target/61599 */ /* PR target/61599 */
/* { dg-do run { target lp64 } } */ /* { dg-do run { target lp64 } } */
/* { dg-skip-if "PR90698" { *-*-darwin* } } */
/* { dg-additional-sources pr61599-2.c } */ /* { dg-additional-sources pr61599-2.c } */
/* { dg-options "-mcmodel=medium -fdata-sections" } */ /* { dg-options "-mcmodel=medium -fdata-sections" } */
......
...@@ -9,5 +9,5 @@ char *foo () ...@@ -9,5 +9,5 @@ char *foo ()
{ {
return str; return str;
} }
/* See PR90698 re. Darwin xfail. */
/* { dg-final { scan-assembler "movabs" } } */ /* { dg-final { scan-assembler "movabs" { xfail { *-*-darwin* } } } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment