From: Tsukasa OI <research_trasio@irq.a4lg.com>
In commit
1aaf3a64e92a ("[PATCH] RISC-V: Deduplicate #error messages in
testsuite"), the author made a mistake to miss the test after adding
quotes around extension names. To avoid future errors and for consistency
with other #error uses in the RISC-V testsuite, this commit quotes all
unquoted #error messages.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/xtheadba.c: Quote unquoted #error message.
* gcc.target/riscv/xtheadbb.c: Ditto.
* gcc.target/riscv/xtheadbs.c: Ditto.
* gcc.target/riscv/xtheadcmo.c: Ditto.
* gcc.target/riscv/xtheadcondmov.c: Ditto.
* gcc.target/riscv/xtheadfmemidx.c: Ditto.
* gcc.target/riscv/xtheadfmv.c: Ditto.
* gcc.target/riscv/xtheadint.c: Ditto.
* gcc.target/riscv/xtheadmac.c: Ditto.
* gcc.target/riscv/xtheadmemidx.c: Ditto.
* gcc.target/riscv/xtheadmempair.c: Ditto.
* gcc.target/riscv/xtheadsync.c: Ditto.
* gcc.target/riscv/zawrs.c: Ditto.
* gcc.target/riscv/zvbb.c: Ditto.
* gcc.target/riscv/zvbc.c: Ditto.
* gcc.target/riscv/zvkg.c: Ditto.
* gcc.target/riscv/zvkned.c: Ditto.
* gcc.target/riscv/zvknha.c: Ditto.
* gcc.target/riscv/zvknhb.c: Ditto.
* gcc.target/riscv/zvksed.c: Ditto.
* gcc.target/riscv/zvksh.c: Ditto.
* gcc.target/riscv/zvkt.c: Ditto.
/* { dg-options "-march=rv64gc_xtheadba" { target { rv64 } } } */
#ifndef __riscv_xtheadba
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
/* { dg-options "-march=rv64gc_xtheadbb" { target { rv64 } } } */
#ifndef __riscv_xtheadbb
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
/* { dg-options "-march=rv64gc_xtheadbs" { target { rv64 } } } */
#ifndef __riscv_xtheadbs
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
/* { dg-options "-march=rv64gc_xtheadcmo" { target { rv64 } } } */
#ifndef __riscv_xtheadcmo
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
/* { dg-options "-march=rv64gc_xtheadcondmov" { target { rv64 } } } */
#ifndef __riscv_xtheadcondmov
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
/* { dg-options "-march=rv64gc_xtheadfmemidx" { target { rv64 } } } */
#ifndef __riscv_xtheadfmemidx
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
/* { dg-options "-march=rv64gc_xtheadfmv" { target { rv64 } } } */
#ifndef __riscv_xtheadfmv
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
/* { dg-options "-march=rv64gc_xtheadint" { target { rv64 } } } */
#ifndef __riscv_xtheadint
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
/* { dg-options "-march=rv64gc_xtheadmac" { target { rv64 } } } */
#ifndef __riscv_xtheadmac
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
/* { dg-options "-march=rv64gc_xtheadmemidx" { target { rv64 } } } */
#ifndef __riscv_xtheadmemidx
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
/* { dg-options "-march=rv64gc_xtheadmempair" { target { rv64 } } } */
#ifndef __riscv_xtheadmempair
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
/* { dg-options "-march=rv64gc_xtheadsync" { target { rv64 } } } */
#ifndef __riscv_xtheadsync
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
/* { dg-options "-march=rv32gc_zawrs" { target { rv32 } } } */
#ifndef __riscv_zawrs
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
/* { dg-options "-march=rv32gc_zvbb" { target { rv32 } } } */
#ifndef __riscv_zvbb
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
/* { dg-options "-march=rv32gc_zvbc" { target { rv32 } } } */
#ifndef __riscv_zvbc
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
/* { dg-options "-march=rv32gc_zvkg" { target { rv32 } } } */
#ifndef __riscv_zvkg
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
/* { dg-options "-march=rv32gc_zvkned" { target { rv32 } } } */
#ifndef __riscv_zvkned
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
/* { dg-options "-march=rv32gc_zvknha" { target { rv32 } } } */
#ifndef __riscv_zvknha
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
/* { dg-options "-march=rv32gc_zvknhb" { target { rv32 } } } */
#ifndef __riscv_zvknhb
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
/* { dg-options "-march=rv32gc_zvksed" { target { rv32 } } } */
#ifndef __riscv_zvksed
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
/* { dg-options "-march=rv32gc_zvksh" { target { rv32 } } } */
#ifndef __riscv_zvksh
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
/* { dg-options "-march=rv32gc_zvkt" { target { rv32 } } } */
#ifndef __riscv_zvkt
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int