diff options
author | Kito Cheng <kito.cheng@sifive.com> | 2023-11-27 15:28:30 +0800 |
---|---|---|
committer | Kito Cheng <kito.cheng@sifive.com> | 2023-12-04 14:34:41 +0800 |
commit | 26b1599d83ddd5b5ac6fb845549e66acc45981f6 (patch) | |
tree | 0faf1529f29feba510fa2ff90bb177fad3964375 /gcc/function.h | |
parent | 88029286c35d3bf65568fea1324d595a15441772 (diff) | |
download | gcc-26b1599d83ddd5b5ac6fb845549e66acc45981f6.zip gcc-26b1599d83ddd5b5ac6fb845549e66acc45981f6.tar.gz gcc-26b1599d83ddd5b5ac6fb845549e66acc45981f6.tar.bz2 |
RISC-V: Refine riscv_subset_list::parse [NFC]
Extract the logic of checking conflict extensions to a standard alone
function, prepare to add more checking logic.
gcc/ChangeLog:
* common/config/riscv/riscv-common.cc
(riscv_subset_list::check_conflict_ext): New.
(riscv_subset_list::parse): Move checking conflict ext. to
check_conflict_ext.
* config/riscv/riscv-subset.h:
Add riscv_subset_list::check_conflict_ext.
Diffstat (limited to 'gcc/function.h')
0 files changed, 0 insertions, 0 deletions