public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-8272] RISC-V: Update testsuite due to -march string relaxation
@ 2024-01-19  7:27 Kito Cheng
  0 siblings, 0 replies; only message in thread
From: Kito Cheng @ 2024-01-19  7:27 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:7fd11421959c14c82fb03d148f14375d3b975584

commit r14-8272-g7fd11421959c14c82fb03d148f14375d3b975584
Author: Kito Cheng <kito.cheng@sifive.com>
Date:   Mon Jan 8 15:20:36 2024 +0800

    RISC-V: Update testsuite due to -march string relaxation
    
    We has relaxed -march string, it no longer require canonical order, so
    we need update some of those testcase.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.target/riscv/arch-23.c: Update test.
            * gcc.target/riscv/arch-27.c: Ditto.
            * gcc.target/riscv/arch-28.c: Ditto.
            * gcc.target/riscv/attribute-10.c: Ditto.

Diff:
---
 gcc/testsuite/gcc.target/riscv/arch-23.c      | 1 -
 gcc/testsuite/gcc.target/riscv/arch-27.c      | 2 +-
 gcc/testsuite/gcc.target/riscv/arch-28.c      | 2 +-
 gcc/testsuite/gcc.target/riscv/attribute-10.c | 4 +++-
 4 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/gcc/testsuite/gcc.target/riscv/arch-23.c b/gcc/testsuite/gcc.target/riscv/arch-23.c
index fca5425790c..aacfc451043 100644
--- a/gcc/testsuite/gcc.target/riscv/arch-23.c
+++ b/gcc/testsuite/gcc.target/riscv/arch-23.c
@@ -4,7 +4,6 @@ int foo()
 {
 }
 
-/* { dg-error "ISA string is not in canonical order. 'c'" "" { target *-*-* } 0 } */
 /* { dg-error "extension 'w' is unsupported standard single letter extension" "" { target *-*-* } 0 } */
 /* { dg-error "extension 'zvl' starts with 'z' but is unsupported standard extension" "" { target *-*-* } 0 } */
 /* { dg-error "extension 's123' starts with 's' but is unsupported standard supervisor extension" "" { target *-*-* } 0 } */
diff --git a/gcc/testsuite/gcc.target/riscv/arch-27.c b/gcc/testsuite/gcc.target/riscv/arch-27.c
index 70143b2156f..03f07deedd1 100644
--- a/gcc/testsuite/gcc.target/riscv/arch-27.c
+++ b/gcc/testsuite/gcc.target/riscv/arch-27.c
@@ -4,4 +4,4 @@ int foo()
 {
 }
 
-/* { dg-error "ISA string is not in canonical order. 'e'" "" { target *-*-* } 0 } */
+/* { dg-error "'i', 'e' or 'g' must be the first extension" "" { target *-*-* } 0 } */
diff --git a/gcc/testsuite/gcc.target/riscv/arch-28.c b/gcc/testsuite/gcc.target/riscv/arch-28.c
index 934399a7b3a..0f83c03ad3d 100644
--- a/gcc/testsuite/gcc.target/riscv/arch-28.c
+++ b/gcc/testsuite/gcc.target/riscv/arch-28.c
@@ -4,4 +4,4 @@ int foo()
 {
 }
 
-/* { dg-error "ISA string is not in canonical order. 'e'" "" { target *-*-* } 0 } */
+/* { dg-error "'i', 'e' or 'g' must be the first extension" "" { target *-*-* } 0 } */
diff --git a/gcc/testsuite/gcc.target/riscv/attribute-10.c b/gcc/testsuite/gcc.target/riscv/attribute-10.c
index 868adef6ab7..8a7f0a8ac49 100644
--- a/gcc/testsuite/gcc.target/riscv/attribute-10.c
+++ b/gcc/testsuite/gcc.target/riscv/attribute-10.c
@@ -3,4 +3,6 @@
 int foo()
 {
 }
-/* { dg-error "unexpected ISA string at end:" "" { target { "riscv*-*-*" } } 0 } */
+/* { dg-error "extension 'u' is unsupported standard single letter extension" "" { target { "riscv*-*-*" } } 0 } */
+/* { dg-error "extension 'n' is unsupported standard single letter extension" "" { target { "riscv*-*-*" } } 0 } */
+/* { dg-error "'i', 'e' or 'g' must be the first extension" "" { target { "riscv*-*-*" } } 0 } */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-19  7:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-19  7:27 [gcc r14-8272] RISC-V: Update testsuite due to -march string relaxation Kito Cheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).