aboutsummaryrefslogtreecommitdiff
path: root/libgomp/target.c
diff options
context:
space:
mode:
authorJin Ma <jinma@linux.alibaba.com>2023-02-02 19:46:04 +0800
committerKito Cheng <kito.cheng@sifive.com>2023-02-02 21:32:19 +0800
commita02aacf55a35876ddc1e534778dc37fae29054f6 (patch)
treee25bd315cc00e4570953bbbce1a8ad306449e4a7 /libgomp/target.c
parent465a9c51e7d5bafa7a81195b5af20f2a54f22210 (diff)
downloadgcc-a02aacf55a35876ddc1e534778dc37fae29054f6.zip
gcc-a02aacf55a35876ddc1e534778dc37fae29054f6.tar.gz
gcc-a02aacf55a35876ddc1e534778dc37fae29054f6.tar.bz2
RISC-V: Fix bug of TARGET_COMPUTE_MULTILIB implemented in riscv.
MAX_MATCH_SCORE is not assigned anywhere except initialized to 0, causing BEST_MATCH_MULTI_LIB to always be 0 or -1, which will cause the result of TARGET_COMPUTE_MULTILIB hook to fail. gcc/ChangeLog: * common/config/riscv/riscv-common.cc (riscv_compute_multilib): Fix finding best match score.
Diffstat (limited to 'libgomp/target.c')
0 files changed, 0 insertions, 0 deletions