diff options
author | Songhe Zhu <zhusonghe@eswincomputing.com> | 2023-03-21 15:38:49 +0800 |
---|---|---|
committer | Kito Cheng <kito.cheng@sifive.com> | 2023-03-23 16:32:49 +0800 |
commit | 37dd1f14b6e0e7775973e0f31876066f503f5b21 (patch) | |
tree | e6c06c331d5eff204007012e1af833efd540947c /gcc/gimple-range-path.cc | |
parent | 4872e46e080c6695dfe1f9dc9db26b4703bc348c (diff) | |
download | gcc-37dd1f14b6e0e7775973e0f31876066f503f5b21.zip gcc-37dd1f14b6e0e7775973e0f31876066f503f5b21.tar.gz gcc-37dd1f14b6e0e7775973e0f31876066f503f5b21.tar.bz2 |
RISC-V: Fix loss of function to script 'multilib-generator'
The arch 'rv32imac' will not be created when excuting
'./multilib-generator rv32imc-ilp32--a'
The output is:
MULTILIB_OPTIONS = march=rv32imc mabi=ilp32
MULTILIB_DIRNAMES = rv32imc ilp32
MULTILIB_REQUIRED = march=rv32imc/mabi=ilp32
MULTILIB_REUSE =
Analysis : The alts:['rv32imc', 'rv32imac'] will change
to ['rv32imac', 'rv32imc'] through function:unique(alts) processing,
This is the wrong alts should not be changed.
This patch fix it.
gcc/ChangLog:
* config/riscv/multilib-generator: Adjusting the loop of 'alt' in 'alts'.
Signed-off-by: Songhe Zhu <zhusonghe@eswincomputing.com>
Diffstat (limited to 'gcc/gimple-range-path.cc')
0 files changed, 0 insertions, 0 deletions