The hppa target is a reload target and asm goto is not supported on reload 
targets.
Skip failing tests on hppa.

Committed to master.

Regards,
Dave

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.

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)

Reply via email to