[gcc r17-2471] RISC-V: Fix typo in gcc.dg/asm-hard-reg-4.c

Craig Blackmore via Gcc-cvs <[email protected]>
Newsgroups gmane.comp.gcc.cvs
Message-ID <[email protected]>
https://gcc.gnu.org/g:f8eeddb64139a05a3ba250350394159e3ecbd285

commit r17-2471-gf8eeddb64139a05a3ba250350394159e3ecbd285
Author: Craig Blackmore <[email protected]>
Date:   Mon Jul 13 17:14:40 2026 +0100

    RISC-V: Fix typo in gcc.dg/asm-hard-reg-4.c
    
    The scan assembler test was not being run for RISC-V due to a typo in
    the target selector.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.dg/asm-hard-reg-4.c: Fix typo in target selector.

Diff:
---
 gcc/testsuite/gcc.dg/asm-hard-reg-4.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/asm-hard-reg-4.c b/gcc/testsuite/gcc.dg/asm-hard-reg-4.c
index 01ae3ad5a7a1..6f32e439e05b 100644
--- a/gcc/testsuite/gcc.dg/asm-hard-reg-4.c
+++ b/gcc/testsuite/gcc.dg/asm-hard-reg-4.c
@@ -13,7 +13,7 @@
 /* { dg-final { scan-assembler-times "foo\t5" 4 { target { powerpc*-*-* } } } } */
 #elif defined (__riscv)
 # define FPR "{fa5}"
-/* { dg-final { scan-assembler-times "foo\tfa5" 4 { target { rsicv*-*-* } } } } */
+/* { dg-final { scan-assembler-times "foo\tfa5" 4 { target { riscv*-*-* } } } } */
 #elif defined (__s390__)
 # define FPR "{f5}"
 /* { dg-final { scan-assembler-times "foo\t%f5" 4 { target { s390*-*-* } } } } */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.