[PATCH] RISC-V: Update testcase.

Kito Cheng kito@andestech.com
Mon Mar 18 10:31:00 GMT 2019


From: Kito Cheng <kito.cheng@gmail.com>

gcc.target/riscv/arch-1.c getting failed after r269586, because it
wrapping all option names in gcc internal messages with %< and %>,
it make option name will print with single quote, and then mis-match
the result in the test case.

gcc/testsuite:

Kito Cheng  <kito.cheng@gmail.com>

ChangeLog
	* gcc.target/riscv/arch-1.c: Update testcase.
---
 gcc/testsuite/gcc.target/riscv/arch-1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/riscv/arch-1.c b/gcc/testsuite/gcc.target/riscv/arch-1.c
index 83d5c8a..f12879c 100644
--- a/gcc/testsuite/gcc.target/riscv/arch-1.c
+++ b/gcc/testsuite/gcc.target/riscv/arch-1.c
@@ -3,4 +3,4 @@
 int foo()
 {
 }
-/* { dg-error ".-march=rv32I: first ISA subset must be `e', `i' or `g'" "" { target *-*-* } 0 } */
+/* { dg-error ".'-march=rv32I': first ISA subset must be `e', `i' or `g'" "" { target *-*-* } 0 } */
-- 
1.8.3.1



More information about the Gcc-patches mailing list