diff options
author | Christoph Müllner <christoph.muellner@vrull.eu> | 2024-12-19 20:59:36 +0100 |
---|---|---|
committer | Christoph Müllner <christoph.muellner@vrull.eu> | 2024-12-20 10:42:18 +0100 |
commit | 8af296c290216e03bc20e7291e64c19e0d94cfd6 (patch) | |
tree | 64882e8e89a9923f07f3796b5afc9b4c9fc9343f /gcc/system.h | |
parent | 92216cbc59b3a4566d49de5dfa059b70b03d639a (diff) | |
download | gcc-8af296c290216e03bc20e7291e64c19e0d94cfd6.zip gcc-8af296c290216e03bc20e7291e64c19e0d94cfd6.tar.gz gcc-8af296c290216e03bc20e7291e64c19e0d94cfd6.tar.bz2 |
RISC-V: List valid -mtune options only once
This patch ensures that the list of valid -mtune options
does not contain entries more than once.
The -mtune option accepts CPU identifiers as well as
tuning identifiers and there are cases where a CPU and
its tuning have the same identifier.
PR116347
gcc/ChangeLog:
* common/config/riscv/riscv-common.cc (riscv_get_valid_option_values):
Skip adding mtune entries that are already in the list.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Diffstat (limited to 'gcc/system.h')
0 files changed, 0 insertions, 0 deletions