From 29d62e226875b6445e195a8518b065d0a5072dcf Mon Sep 17 00:00:00 2001 From: Lin Sinan Date: Thu, 13 May 2021 12:58:17 +0300 Subject: [PATCH] [testcase][fix] fix a wrong canonical order problem in test case --- gcc/testsuite/gcc.target/riscv/attribute-8.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.target/riscv/attribute-8.c b/gcc/testsuite/gcc.target/riscv/attribute-8.c index 1d1617638050..17514f9e3cb1 100644 --- a/gcc/testsuite/gcc.target/riscv/attribute-8.c +++ b/gcc/testsuite/gcc.target/riscv/attribute-8.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-O -mriscv-attribute -march=rv32i2p0xv5_xabc -mabi=ilp32" } */ +/* { dg-options "-O -mriscv-attribute -march=rv32i2p0xabc_xv5 -mabi=ilp32" } */ int foo() { } -/* { dg-final { scan-assembler ".attribute arch, \"rv32i2p0_xv5p0_xabc2p0\"" } } */ +/* { dg-final { scan-assembler ".attribute arch, \"rv32i2p0_xabc2p0_xv5p0\"" } } */