]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: Work around bare apostrophe in error string.
authorRobin Dapp <rdapp@ventanamicro.com>
Fri, 26 Jul 2024 10:58:38 +0000 (12:58 +0200)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 28 Jul 2024 17:06:00 +0000 (19:06 +0200)
commit125570ab7e455e61ff98e6d0e41baff0e3287076
tree01e98179d6e8b7ce1a963c7e69aacbd6ab8b6fe6
parent7a9d8962288ae2ff991c56b507041cb75097a4bc
RISC-V: Work around bare apostrophe in error string.

An unquoted apostrophe slipped through when testing the recent
V/M extension patch.  This, again, re-words the message to
"Currently the 'V' implementation requires the 'M' extension".

Going to commit as obvious after testing.

gcc/ChangeLog:

* config/riscv/riscv.cc (riscv_override_options_internal):
Reword error string without apostrophe.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/base/pr116036.c: Adjust expected error
string.
gcc/config/riscv/riscv.cc
gcc/testsuite/gcc.target/riscv/rvv/base/pr116036.c