From 76c1dd15e4a056a59a13b2208af23a6bd67c2682 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Mon, 18 Jan 2021 15:45:47 +0000 Subject: [PATCH] Skip asm goto tests on hppa*-*-*. gcc/testsuite/ChangeLog: PR testsuite/97987 * gcc.c-torture/compile/asmgoto-2.c: Skip on hppa. * gcc.c-torture/compile/asmgoto-5.c: Likewise. --- gcc/testsuite/gcc.c-torture/compile/asmgoto-2.c | 1 + gcc/testsuite/gcc.c-torture/compile/asmgoto-5.c | 1 + 2 files changed, 2 insertions(+) diff --git a/gcc/testsuite/gcc.c-torture/compile/asmgoto-2.c b/gcc/testsuite/gcc.c-torture/compile/asmgoto-2.c index f1b30c02884..d2d2ac536bd 100644 --- a/gcc/testsuite/gcc.c-torture/compile/asmgoto-2.c +++ b/gcc/testsuite/gcc.c-torture/compile/asmgoto-2.c @@ -1,5 +1,6 @@ /* This test should be switched off for a new target with less than 4 allocatable registers */ /* { dg-do compile } */ +/* { dg-skip-if "Reload target" { hppa*-*-* } } */ int foo (void) { diff --git a/gcc/testsuite/gcc.c-torture/compile/asmgoto-5.c b/gcc/testsuite/gcc.c-torture/compile/asmgoto-5.c index 94c14dd4005..ce751ced90c 100644 --- a/gcc/testsuite/gcc.c-torture/compile/asmgoto-5.c +++ b/gcc/testsuite/gcc.c-torture/compile/asmgoto-5.c @@ -1,6 +1,7 @@ /* Test to generate output reload in asm goto on x86_64. */ /* { dg-do compile } */ /* { dg-skip-if "no O0" { { i?86-*-* x86_64-*-* } && { ! ia32 } } { "-O0" } { "" } } */ +/* { dg-skip-if "Reload target" { hppa*-*-* } } */ #if defined __x86_64__ #define ASM(s) asm (s) -- 2.30.2