]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[committed] [RISC-V] Fix expected diagnostic messages in testsuite
authorJeff Law <jlaw@ventanamicro.com>
Thu, 27 Jul 2023 01:25:33 +0000 (19:25 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Thu, 27 Jul 2023 01:25:33 +0000 (19:25 -0600)
Whoops, this should have gone in with the fixes to the RISC-V
diagnostics from earlier this week.

gcc/testsuite
* gcc.target/riscv/arch-23.c: Update expected diagnostic messages.
* gcc.target/riscv/pr102957.c: Likewise.

gcc/testsuite/gcc.target/riscv/arch-23.c
gcc/testsuite/gcc.target/riscv/pr102957.c

index 1cb55889c50ec4045dd1011902945c126a6b7183..fca5425790c83e3a7f87ab813859ff56f033bfd3 100644 (file)
@@ -6,6 +6,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 } */
-/* { dg-error "extension 'x123' starts with `x` but is unsupported non-standard 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 } */
+/* { dg-error "extension 'x123' starts with 'x' but is unsupported non-standard extension" "" { target *-*-* } 0 } */
index 322d49c62d4146b227e5d05010933a7f428350bd..5273ee6c5018df014112a9bf8dd73666308adcfc 100644 (file)
@@ -4,4 +4,4 @@ int foo()
 {
 }
 
-/* { dg-error "extension 'zb' starts with `z` but is unsupported standard extension" "" { target *-*-* } 0 } */
+/* { dg-error "extension 'zb' starts with 'z' but is unsupported standard extension" "" { target *-*-* } 0 } */