[committed,RISC-V] Fix expected diagnostic messages in testsuite

Message ID 05f66f09-3e40-a3f3-6d7d-f3ea9073b34f@ventanamicro.com
State Unresolved
Headers
Series [committed,RISC-V] Fix expected diagnostic messages in testsuite |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

Jeff Law July 27, 2023, 1:28 a.m. UTC
  Whoops, this should have gone in with the fixes to the RISC-V 
diagnostics from earlier this week.

Committed to the trunk.

Jeff
commit 6f709f79c915a1ea82220a44e9f4a144d5eedfd1
Author: Jeff Law <jlaw@ventanamicro.com>
Date:   Wed Jul 26 19:25:33 2023 -0600

    [committed] [RISC-V] Fix expected diagnostic messages in testsuite
    
    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.
  

Patch

diff --git a/gcc/testsuite/gcc.target/riscv/arch-23.c b/gcc/testsuite/gcc.target/riscv/arch-23.c
index 1cb55889c50..fca5425790c 100644
--- a/gcc/testsuite/gcc.target/riscv/arch-23.c
+++ b/gcc/testsuite/gcc.target/riscv/arch-23.c
@@ -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 } */
diff --git a/gcc/testsuite/gcc.target/riscv/pr102957.c b/gcc/testsuite/gcc.target/riscv/pr102957.c
index 322d49c62d4..5273ee6c501 100644
--- a/gcc/testsuite/gcc.target/riscv/pr102957.c
+++ b/gcc/testsuite/gcc.target/riscv/pr102957.c
@@ -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 } */