From: Stefan Schulze Frielinghaus <[email protected]>

The testcase introduced in r16-5879-g55cc4377a31 was ment for 64-bit
only because it is referencing register r8.  Fixed by restricting it to
lp64.

gcc/testsuite/ChangeLog:

        * gcc.dg/asm-hard-reg-9.c: Restrict to lp64 x86_64.
---
 gcc/testsuite/gcc.dg/asm-hard-reg-9.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/asm-hard-reg-9.c 
b/gcc/testsuite/gcc.dg/asm-hard-reg-9.c
index 0866cb4554a..f2079eca794 100644
--- a/gcc/testsuite/gcc.dg/asm-hard-reg-9.c
+++ b/gcc/testsuite/gcc.dg/asm-hard-reg-9.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target s390*-*-* x86_64-*-* } } */
+/* { dg-do compile { target { s390*-*-* || { x86_64-*-* && lp64 } } } } */
 /* { dg-options "-O2" } */
 
 /* Ensure that if the reload register for operand 2 is resued for operand 3,
-- 
2.52.0

Reply via email to