Skip to content
Snippets Groups Projects
Commit ead5f587 authored by YunQiang Su's avatar YunQiang Su
Browse files

RISC-V: Fix out of index in riscv_select_multilib_by_abi

commit b5c2aae48723c9098a8a3dab1409b30fd87bbf56
Author: YunQiang Su <yunqiang@isrc.iscas.ac.cn>
Date:   Thu Sep 5 15:14:43 2024 +0800

    RISC-V: Lookup reversely in riscv_select_multilib_by_abi

The last element should use index
   multilib_infos.size () - 1

gcc
	* common/config/riscv/riscv-common.cc(riscv_select_multilib_by_abi):
	Fix out of index problem.
parent 1914ca87
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment