[committed] RISC-V: Make the test condition more strict for gcc.target/riscv/_Float16-zhinxmin-1.c
Checks
Commit Message
LTO might generate random string for the section name, which might contain `mv`,
then might cause random false alarm.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/_Float16-zhinxmin-1.c: Tweak test
condition.
---
gcc/testsuite/gcc.target/riscv/_Float16-zhinxmin-1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -5,6 +5,6 @@ _Float16 foo1 (_Float16 a, _Float16 b)
{
/* { dg-final { scan-assembler-not "fmv.h" } } */
/* { dg-final { scan-assembler-not "fmv.s" } } */
- /* { dg-final { scan-assembler-times "mv" 1 } } */
+ /* { dg-final { scan-assembler-times "mv\ta0" 1 } } */
return b;
}