From 96fc91785ef1e4d52487e6b29787954d1df042a8 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Tue, 10 Nov 2020 19:07:05 -0500 Subject: [PATCH] testsuite: skip zero-scratch-regs on powerpc. These tests are unsupported on PowerPC. gcc/testsuite/ChangeLog: * c-c++-common/zero-scratch-regs-10.c: Skip on powerpc*-*-*. * c-c++-common/zero-scratch-regs-11.c: Skip on powerpc*-*-*. * c-c++-common/zero-scratch-regs-5.c: Skip on powerpc*-*-aix*. * c-c++-common/zero-scratch-regs-8.c: Skip on powerpc*-*-*. * c-c++-common/zero-scratch-regs-9.c: Skip on powerpc*-*-*. --- gcc/testsuite/c-c++-common/zero-scratch-regs-10.c | 2 +- gcc/testsuite/c-c++-common/zero-scratch-regs-11.c | 2 +- gcc/testsuite/c-c++-common/zero-scratch-regs-5.c | 1 + gcc/testsuite/c-c++-common/zero-scratch-regs-8.c | 2 +- gcc/testsuite/c-c++-common/zero-scratch-regs-9.c | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) 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 d63a57d79f3..193db8c3a30 100644 --- a/gcc/testsuite/c-c++-common/zero-scratch-regs-10.c +++ b/gcc/testsuite/c-c++-common/zero-scratch-regs-10.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-skip-if "not implemented" { powerpc*-*-darwin* } } */ +/* { dg-skip-if "not implemented" { powerpc*-*-* } } */ /* { 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 1d8cabbb34b..b04b6a29b62 100644 --- a/gcc/testsuite/c-c++-common/zero-scratch-regs-11.c +++ b/gcc/testsuite/c-c++-common/zero-scratch-regs-11.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-skip-if "not implemented" { powerpc*-*-darwin* } } */ +/* { dg-skip-if "not implemented" { powerpc*-*-* } } */ /* { 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-5.c b/gcc/testsuite/c-c++-common/zero-scratch-regs-5.c index 26679a4a396..fde74d8c55f 100644 --- a/gcc/testsuite/c-c++-common/zero-scratch-regs-5.c +++ b/gcc/testsuite/c-c++-common/zero-scratch-regs-5.c @@ -1,4 +1,5 @@ /* { dg-do run } */ +/* { dg-skip-if "not implemented" { powerpc*-*-aix* } } */ /* { dg-options "-O2 -fzero-call-used-regs=used" } */ #include "zero-scratch-regs-1.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 7fef0d26abc..f612a04294c 100644 --- a/gcc/testsuite/c-c++-common/zero-scratch-regs-8.c +++ b/gcc/testsuite/c-c++-common/zero-scratch-regs-8.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-skip-if "not implemented" { powerpc*-*-darwin* } } */ +/* { dg-skip-if "not implemented" { powerpc*-*-* } } */ /* { 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 15616562c76..2c63a6906fe 100644 --- a/gcc/testsuite/c-c++-common/zero-scratch-regs-9.c +++ b/gcc/testsuite/c-c++-common/zero-scratch-regs-9.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-skip-if "not implemented" { powerpc*-*-darwin* } } */ +/* { dg-skip-if "not implemented" { powerpc*-*-* } } */ /* { dg-options "-O2 -fzero-call-used-regs=all" } */ #include "zero-scratch-regs-1.c" -- 2.30.2