aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeff Law <jlaw@ventanamicro.com>2023-07-24 08:10:21 -0600
committerJeff Law <jlaw@ventanamicro.com>2023-07-24 08:10:21 -0600
commitd90e81af8052e96ae3262ed3ac42682537fc42c6 (patch)
tree36a59188e1e9ee2d361b131eeb9c63dec338d134 /gcc
parent4be3919fb75e3d2a4d2bb80ba33c14e0973bc08f (diff)
downloadgcc-d90e81af8052e96ae3262ed3ac42682537fc42c6.zip
gcc-d90e81af8052e96ae3262ed3ac42682537fc42c6.tar.gz
gcc-d90e81af8052e96ae3262ed3ac42682537fc42c6.tar.bz2
[committed] Use single quote rather than backquote in RISC-V diagnostic
Similar to the other patch this morning, this fixes a warning that was causing the RISC-V bootstrap to fail. In this case the diagnostic used a backquote. This changes it to a simple single quote which the diagnostic framework won't complain about. Committed to the trunk. gcc/ * common/config/riscv/riscv-common.cc (riscv_subset_list::add): Use single quote rather than backquote in diagnostic.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/common/config/riscv/riscv-common.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/common/config/riscv/riscv-common.cc b/gcc/common/config/riscv/riscv-common.cc
index 884d81c..5238877 100644
--- a/gcc/common/config/riscv/riscv-common.cc
+++ b/gcc/common/config/riscv/riscv-common.cc
@@ -573,7 +573,7 @@ riscv_subset_list::add (const char *subset, int major_version,
else if (subset[0] == 'z' && !standard_extensions_p (subset))
{
error_at (m_loc,
- "%<-march=%s%>: extension %qs starts with `z` but is "
+ "%<-march=%s%>: extension %qs starts with 'z' but is "
"unsupported standard extension",
m_arch, subset);
return;
@@ -581,7 +581,7 @@ riscv_subset_list::add (const char *subset, int major_version,
else if (subset[0] == 's' && !standard_extensions_p (subset))
{
error_at (m_loc,
- "%<-march=%s%>: extension %qs starts with `s` but is "
+ "%<-march=%s%>: extension %qs starts with 's' but is "
"unsupported standard supervisor extension",
m_arch, subset);
return;
@@ -589,7 +589,7 @@ riscv_subset_list::add (const char *subset, int major_version,
else if (subset[0] == 'x' && !standard_extensions_p (subset))
{
error_at (m_loc,
- "%<-march=%s%>: extension %qs starts with `x` but is "
+ "%<-march=%s%>: extension %qs starts with 'x' but is "
"unsupported non-standard extension",
m_arch, subset);
return;