[2/2] RISC-V: Add quotes to #error messages (all)
Checks
Commit Message
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.
---
gcc/testsuite/gcc.target/riscv/xtheadba.c | 2 +-
gcc/testsuite/gcc.target/riscv/xtheadbb.c | 2 +-
gcc/testsuite/gcc.target/riscv/xtheadbs.c | 2 +-
gcc/testsuite/gcc.target/riscv/xtheadcmo.c | 2 +-
gcc/testsuite/gcc.target/riscv/xtheadcondmov.c | 2 +-
gcc/testsuite/gcc.target/riscv/xtheadfmemidx.c | 2 +-
gcc/testsuite/gcc.target/riscv/xtheadfmv.c | 2 +-
gcc/testsuite/gcc.target/riscv/xtheadint.c | 2 +-
gcc/testsuite/gcc.target/riscv/xtheadmac.c | 2 +-
gcc/testsuite/gcc.target/riscv/xtheadmemidx.c | 2 +-
gcc/testsuite/gcc.target/riscv/xtheadmempair.c | 2 +-
gcc/testsuite/gcc.target/riscv/xtheadsync.c | 2 +-
gcc/testsuite/gcc.target/riscv/zawrs.c | 2 +-
gcc/testsuite/gcc.target/riscv/zvbb.c | 2 +-
gcc/testsuite/gcc.target/riscv/zvbc.c | 2 +-
gcc/testsuite/gcc.target/riscv/zvkg.c | 2 +-
gcc/testsuite/gcc.target/riscv/zvkned.c | 2 +-
gcc/testsuite/gcc.target/riscv/zvknha.c | 2 +-
gcc/testsuite/gcc.target/riscv/zvknhb.c | 2 +-
gcc/testsuite/gcc.target/riscv/zvksed.c | 2 +-
gcc/testsuite/gcc.target/riscv/zvksh.c | 2 +-
gcc/testsuite/gcc.target/riscv/zvkt.c | 2 +-
22 files changed, 22 insertions(+), 22 deletions(-)
@@ -3,7 +3,7 @@
/* { dg-options "-march=rv64gc_xtheadba" { target { rv64 } } } */
#ifndef __riscv_xtheadba
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
@@ -3,7 +3,7 @@
/* { dg-options "-march=rv64gc_xtheadbb" { target { rv64 } } } */
#ifndef __riscv_xtheadbb
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
@@ -3,7 +3,7 @@
/* { dg-options "-march=rv64gc_xtheadbs" { target { rv64 } } } */
#ifndef __riscv_xtheadbs
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
@@ -3,7 +3,7 @@
/* { dg-options "-march=rv64gc_xtheadcmo" { target { rv64 } } } */
#ifndef __riscv_xtheadcmo
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
@@ -3,7 +3,7 @@
/* { dg-options "-march=rv64gc_xtheadcondmov" { target { rv64 } } } */
#ifndef __riscv_xtheadcondmov
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
@@ -3,7 +3,7 @@
/* { dg-options "-march=rv64gc_xtheadfmemidx" { target { rv64 } } } */
#ifndef __riscv_xtheadfmemidx
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
@@ -3,7 +3,7 @@
/* { dg-options "-march=rv64gc_xtheadfmv" { target { rv64 } } } */
#ifndef __riscv_xtheadfmv
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
@@ -3,7 +3,7 @@
/* { dg-options "-march=rv64gc_xtheadint" { target { rv64 } } } */
#ifndef __riscv_xtheadint
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
@@ -3,7 +3,7 @@
/* { dg-options "-march=rv64gc_xtheadmac" { target { rv64 } } } */
#ifndef __riscv_xtheadmac
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
@@ -3,7 +3,7 @@
/* { dg-options "-march=rv64gc_xtheadmemidx" { target { rv64 } } } */
#ifndef __riscv_xtheadmemidx
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
@@ -3,7 +3,7 @@
/* { dg-options "-march=rv64gc_xtheadmempair" { target { rv64 } } } */
#ifndef __riscv_xtheadmempair
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
@@ -3,7 +3,7 @@
/* { dg-options "-march=rv64gc_xtheadsync" { target { rv64 } } } */
#ifndef __riscv_xtheadsync
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
@@ -3,7 +3,7 @@
/* { dg-options "-march=rv32gc_zawrs" { target { rv32 } } } */
#ifndef __riscv_zawrs
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
@@ -3,7 +3,7 @@
/* { dg-options "-march=rv32gc_zvbb" { target { rv32 } } } */
#ifndef __riscv_zvbb
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
@@ -3,7 +3,7 @@
/* { dg-options "-march=rv32gc_zvbc" { target { rv32 } } } */
#ifndef __riscv_zvbc
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
@@ -3,7 +3,7 @@
/* { dg-options "-march=rv32gc_zvkg" { target { rv32 } } } */
#ifndef __riscv_zvkg
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
@@ -3,7 +3,7 @@
/* { dg-options "-march=rv32gc_zvkned" { target { rv32 } } } */
#ifndef __riscv_zvkned
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
@@ -3,7 +3,7 @@
/* { dg-options "-march=rv32gc_zvknha" { target { rv32 } } } */
#ifndef __riscv_zvknha
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
@@ -3,7 +3,7 @@
/* { dg-options "-march=rv32gc_zvknhb" { target { rv32 } } } */
#ifndef __riscv_zvknhb
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
@@ -3,7 +3,7 @@
/* { dg-options "-march=rv32gc_zvksed" { target { rv32 } } } */
#ifndef __riscv_zvksed
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
@@ -3,7 +3,7 @@
/* { dg-options "-march=rv32gc_zvksh" { target { rv32 } } } */
#ifndef __riscv_zvksh
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int
@@ -3,7 +3,7 @@
/* { dg-options "-march=rv32gc_zvkt" { target { rv32 } } } */
#ifndef __riscv_zvkt
-#error Feature macro not defined
+#error "Feature macro not defined"
#endif
int