From 891cd9e3b9a89b0461fb838d38c51b6fab596337 Mon Sep 17 00:00:00 2001 From: Kito Cheng Date: Mon, 18 Mar 2019 19:45:20 +0000 Subject: [PATCH] RISC-V: Fix testsuite regression caused by quotes around options. 2019-03-18 Kito Cheng * gcc.target/riscv/arch-1.c: Add quotes around march in dg-error. From-SVN: r269779 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.target/riscv/arch-1.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 18a24a7454b..de31e36f53d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-03-18 Kito Cheng + + * gcc.target/riscv/arch-1.c: Add quotes around march in dg-error. + 2019-03-18 Segher Boessenkool * gcc.target/powerpc/bswap16.c: Use a pointer instead of a global for diff --git a/gcc/testsuite/gcc.target/riscv/arch-1.c b/gcc/testsuite/gcc.target/riscv/arch-1.c index 83d5c8a54c4..f12879c84d5 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 } */ -- 2.30.2