diff mbox series

RISC-V: Update testcases info with new implement info

Message ID 20220119091525.2140-1-shihua@iscas.ac.cn
State Committed
Commit add6bb52e34f6036ace9f67ad8ad5b990adbc34a
Headers show
Series RISC-V: Update testcases info with new implement info | expand

Commit Message

廖仕华 Jan. 19, 2022, 9:15 a.m. UTC
From: LiaoShihua <shihua@iscas.ac.cn>

    After commit 591b6e00d1bfe12932ca31530d5859f95db8a35a " riscv: fix -Wformat-diag errors ", some strings in implement was changed. 
    This patch update the check info in testcases to sync with it.

gcc/testsuite/ChangeLog:

        * gcc.target/riscv/arch-9.c: Update the check info.
        * gcc.target/riscv/arch-10.c: Ditto.
        * gcc.target/riscv/arch-12.c: Ditto.


---
 gcc/testsuite/gcc.target/riscv/arch-10.c | 2 +-
 gcc/testsuite/gcc.target/riscv/arch-12.c | 2 +-
 gcc/testsuite/gcc.target/riscv/arch-9.c  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Comments

Martin Liška Jan. 19, 2022, 9:18 a.m. UTC | #1
On 1/19/22 10:15, shihua@iscas.ac.cn wrote:
> |From: LiaoShihua <shihua@iscas.ac.cn> After commit 591b6e00d1bfe12932ca31530d5859f95db8a35a " riscv: fix -Wformat-diag errors ", some strings in implement was changed. This patch update the check info in testcases to sync with it.|

Thank you for the fix!

Martin
Kito Cheng Jan. 24, 2022, 3:27 a.m. UTC | #2
Committed, thanks!

On Wed, Jan 19, 2022 at 5:18 PM Martin Liška <mliska@suse.cz> wrote:
>
> On 1/19/22 10:15, shihua@iscas.ac.cn wrote:
> > |From: LiaoShihua <shihua@iscas.ac.cn> After commit 591b6e00d1bfe12932ca31530d5859f95db8a35a " riscv: fix -Wformat-diag errors ", some strings in implement was changed. This patch update the check info in testcases to sync with it.|
>
> Thank you for the fix!
>
> Martin
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.target/riscv/arch-10.c b/gcc/testsuite/gcc.target/riscv/arch-10.c
index 47dbda333c9..1052f2e0c14 100644
--- a/gcc/testsuite/gcc.target/riscv/arch-10.c
+++ b/gcc/testsuite/gcc.target/riscv/arch-10.c
@@ -3,4 +3,4 @@ 
 int foo()
 {
 }
-/* { dg-error "Extension `f' appear more than one time." "" { target *-*-* } 0 } */
+/* { dg-error "extension 'f' appear more than one time" "" { target *-*-* } 0 } */
diff --git a/gcc/testsuite/gcc.target/riscv/arch-12.c b/gcc/testsuite/gcc.target/riscv/arch-12.c
index 29e16c30815..5ee9a1da5bb 100644
--- a/gcc/testsuite/gcc.target/riscv/arch-12.c
+++ b/gcc/testsuite/gcc.target/riscv/arch-12.c
@@ -1,4 +1,4 @@ 
 /* { dg-do compile } */
 /* { dg-options "-O2 -march=rv64im1p2p3 -mabi=lp64" } */
 int foo() {}
-/* { dg-error "'-march=rv64im1p2p3': For 'm1p2p\\?', version number with more than 2 level is not supported." "" { target *-*-* } 0 } */
+/* { dg-error "'-march=rv64im1p2p3': for 'm1p2p\\?', version number with more than 2 level is not supported" "" { target *-*-* } 0 } */
diff --git a/gcc/testsuite/gcc.target/riscv/arch-9.c b/gcc/testsuite/gcc.target/riscv/arch-9.c
index 74e64103563..d00e99d3534 100644
--- a/gcc/testsuite/gcc.target/riscv/arch-9.c
+++ b/gcc/testsuite/gcc.target/riscv/arch-9.c
@@ -3,4 +3,4 @@ 
 int foo()
 {
 }
-/* { dg-warning "version of `g` will be omitted, please specify version for individual extension." "" { target *-*-* } 0 } */
+/* { dg-warning "version of 'g' will be omitted, please specify version for individual extension" "" { target *-*-* } 0 } */