[gcc r16-5885] i386: Fix gcc.dg/asm-hard-reg-9.c
Stefan Schulze Frielinghaus
stefansf@gcc.gnu.org
Thu Dec 4 12:54:34 GMT 2025
https://gcc.gnu.org/g:409114931c83695689e42c310242814afd166980
commit r16-5885-g409114931c83695689e42c310242814afd166980
Author: Stefan Schulze Frielinghaus <stefansf@gcc.gnu.org>
Date: Thu Dec 4 13:49:19 2025 +0100
i386: Fix gcc.dg/asm-hard-reg-9.c
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.
Diff:
---
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 0866cb4554af..f2079eca794e 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,
More information about the Gcc-cvs
mailing list