From 13193e4000ef7c342663e3aa653284bcfeb618ff Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Sat, 7 Nov 2020 09:20:54 +0000 Subject: [PATCH] testsuite, Darwin, PPC : XFAIL zero-scratch-regs tests. These tests fail because of an unimplemented 'sorry'; there is no plan to implement this in the short term, so XFAILing the tests to reduce noise. gcc/testsuite/ChangeLog: * c-c++-common/zero-scratch-regs-10.c: XFAIL for powerpc-darwin. * c-c++-common/zero-scratch-regs-11.c: Likewise. * c-c++-common/zero-scratch-regs-8.c: Likewise. * c-c++-common/zero-scratch-regs-9.c: Likewise. --- gcc/testsuite/c-c++-common/zero-scratch-regs-10.c | 1 + gcc/testsuite/c-c++-common/zero-scratch-regs-11.c | 1 + gcc/testsuite/c-c++-common/zero-scratch-regs-8.c | 1 + gcc/testsuite/c-c++-common/zero-scratch-regs-9.c | 1 + 4 files changed, 4 insertions(+) diff --git a/gcc/testsuite/c-c++-common/zero-scratch-regs-10.c b/gcc/testsuite/c-c++-common/zero-scratch-regs-10.c index bdaf8e7decb..3eea0fd864b 100644 --- a/gcc/testsuite/c-c++-common/zero-scratch-regs-10.c +++ b/gcc/testsuite/c-c++-common/zero-scratch-regs-10.c @@ -1,4 +1,5 @@ /* { dg-do run } */ +/* { dg-xfail-if "not implemented" { powerpc*-*-darwin* } } */ /* { dg-options "-O2" } */ #include diff --git a/gcc/testsuite/c-c++-common/zero-scratch-regs-11.c b/gcc/testsuite/c-c++-common/zero-scratch-regs-11.c index 7721e395e52..d1b1636657b 100644 --- a/gcc/testsuite/c-c++-common/zero-scratch-regs-11.c +++ b/gcc/testsuite/c-c++-common/zero-scratch-regs-11.c @@ -1,4 +1,5 @@ /* { dg-do run } */ +/* { dg-xfail-if "not implemented" { powerpc*-*-darwin* } } */ /* { dg-options "-O2 -fzero-call-used-regs=all" } */ #include "zero-scratch-regs-10.c" diff --git a/gcc/testsuite/c-c++-common/zero-scratch-regs-8.c b/gcc/testsuite/c-c++-common/zero-scratch-regs-8.c index c1faaf0f43a..48a4ab2c002 100644 --- a/gcc/testsuite/c-c++-common/zero-scratch-regs-8.c +++ b/gcc/testsuite/c-c++-common/zero-scratch-regs-8.c @@ -1,4 +1,5 @@ /* { dg-do run } */ +/* { dg-xfail-if "not implemented" { powerpc*-*-darwin* } } */ /* { dg-options "-O2 -fzero-call-used-regs=all-arg" } */ #include "zero-scratch-regs-1.c" diff --git a/gcc/testsuite/c-c++-common/zero-scratch-regs-9.c b/gcc/testsuite/c-c++-common/zero-scratch-regs-9.c index 3f14bac67c0..2a8c69bf2b2 100644 --- a/gcc/testsuite/c-c++-common/zero-scratch-regs-9.c +++ b/gcc/testsuite/c-c++-common/zero-scratch-regs-9.c @@ -1,4 +1,5 @@ /* { dg-do run } */ +/* { dg-xfail-if "not implemented" { powerpc*-*-darwin* } } */ /* { dg-options "-O2 -fzero-call-used-regs=all" } */ #include "zero-scratch-regs-1.c" -- 2.30.2