aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorYunQiang Su <yunqiang@isrc.iscas.ac.cn>2024-09-05 15:14:43 +0800
committerYunQiang Su <syq@gcc.gnu.org>2024-09-05 16:45:46 +0800
commit3162abfb5098934e6ed9d4307a86a84d28823612 (patch)
tree064ace1ed3c63f97085e2652f385f6d658b8e6d5 /gcc/cp
parent811204f52a111af24ba4b00df9e947a44c4c1161 (diff)
downloadgcc-3162abfb5098934e6ed9d4307a86a84d28823612.zip
gcc-3162abfb5098934e6ed9d4307a86a84d28823612.tar.gz
gcc-3162abfb5098934e6ed9d4307a86a84d28823612.tar.bz2
RISC-V: Lookup reversely in riscv_select_multilib_by_abi
When use --print-multi-os-dir or -print-multi-directory, gcc outputs different values with full -march option and the base one only. $ ./gcc/xgcc --print-multi-os-dir -mabi=lp64d -march=rv64gc lib64/lp64d $ ./gcc/xgcc --print-multi-os-dir -mabi=lp64d -march=rv64gc_zba . The reason is that in multilib.h, the fallback value of multilib is listed as the 1st one in `multilib_raw[]`. gcc * common/config/riscv/riscv-common.cc(riscv_select_multilib_by_abi): look up reversely as the fallback path is listed as the 1st one.
Diffstat (limited to 'gcc/cp')
0 files changed, 0 insertions, 0 deletions