opts: Fix up -ffold-mem-offsets option keywords
commit1203fc2e6a40c65896763554f62cacfb4bd6a836
authorJakub Jelinek <jakub@redhat.com>
Thu, 18 Jan 2024 07:45:09 +0000 (18 08:45 +0100)
committerJakub Jelinek <jakub@redhat.com>
Thu, 18 Jan 2024 07:45:09 +0000 (18 08:45 +0100)
tree09076590438bd7c89baa4f608542421fe8817f58
parentb981d5c60b8ef78e2adecd6b5d7e36f9e5e61c54
opts: Fix up -ffold-mem-offsets option keywords

While the option was originally meant to be a Target option for a single
target, it is an option for all targets, so should be Common rather than
Target, and because it is an optimization option which could be different
in between different LTO TUs, I've added Optimization keyword too.
From what I can see, Bool is a non-documented non-existing keyword (at
least, grep Bool *.awk shows nothing, so I've dropped that too.  Seems
that the option parsing simply parses and ignores any non-existing keywords.

Guess we should drop the Bool keywords from the gcc/config/riscv/riscv.opt
file eventually, so that people don't copy this around.

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

PR other/113399
* common.opt (ffold-mem-offsets): Remove Target and Bool keywords, add
Common and Optimization.
gcc/common.opt