[gcc(refs/vendors/riscv/heads/gcc-15-with-riscv-opts)] testsuite: Fix RISC-V arch-52.c format issue.
Jeff Law
law@gcc.gnu.org
Sat Nov 1 18:28:38 GMT 2025
https://gcc.gnu.org/g:b6f9046ac73038eaf5d8558c92c7c7d5fac380a7
commit b6f9046ac73038eaf5d8558c92c7c7d5fac380a7
Author: Jiawei <jiawei@iscas.ac.cn>
Date: Mon May 12 13:23:50 2025 +0800
testsuite: Fix RISC-V arch-52.c format issue.
Fix incorrect regular expression.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/arch-52.c: Fix regular expression.
(cherry picked from commit 63d26b0e1f11043552404d2ba6448ec74840fa48)
Diff:
---
gcc/testsuite/gcc.target/riscv/arch-52.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.target/riscv/arch-52.c b/gcc/testsuite/gcc.target/riscv/arch-52.c
index da6aea8fd94d..6133370b68ae 100644
--- a/gcc/testsuite/gcc.target/riscv/arch-52.c
+++ b/gcc/testsuite/gcc.target/riscv/arch-52.c
@@ -1,6 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-march=rva22u64v -mabi=lp64" } */
-/* { dg-warning "*Should use \"_\" to contact Profiles with other extensions" } */
+/* { dg-warning "Should use \"_\" to contact Profiles with other extensions" "" { target *-*-* } 0 } */
int
foo ()
{}
More information about the Gcc-cvs
mailing list