riscv: Remove Bool keywords from riscv.opt
commit3c7add6af4641e0e8a812596d59606aeb8a84b3f
authorJakub Jelinek <jakub@redhat.com>
Thu, 18 Jan 2024 09:24:25 +0000 (18 10:24 +0100)
committerJakub Jelinek <jakub@redhat.com>
Thu, 18 Jan 2024 09:24:25 +0000 (18 10:24 +0100)
tree8e7a33db51e19f0a116e0a2264ae4cff7f879afb
parentd4a2d91b46b2cf758b249a4545e34287e90da23b
riscv: Remove Bool keywords from riscv.opt

As I wrote recently, Bool is an undocumented unsupported keyword, as
can be seen by
grep Bool doc/options.texi *.awk
The option parsing just parses and ignores all keywords it doesn't handle.
But, because it isn't a supported keyword, I think we shouldn't have it in
*.opt files, because that just means people copy it over to other places
even when it doesn't have any effect.

Tested with a cross to riscv64-linux, none of the generated
options.{h,cc} options-{save,urls}.cc
files change with the patch, only optionlist does (but that is just
used as a source for those files).

2024-01-18  Jakub Jelinek  <jakub@redhat.com>

* config/riscv/riscv.opt (mshorten-memrefs, mrelax, mcsr-check,
minline-strcmp, minline-strncmp, minline-strlen,
-param=riscv-vector-abi): Remove Bool keywords.
gcc/config/riscv/riscv.opt