From: Stefan Schulze Frielinghaus Date: Thu, 4 Dec 2025 12:49:19 +0000 (+0100) Subject: i386: Fix gcc.dg/asm-hard-reg-9.c X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=409114931c83695689e42c310242814afd166980;p=thirdparty%2Fgcc.git 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 --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,