diff options
author | Jin Ma <jinma@linux.alibaba.com> | 2025-02-14 14:58:49 +0800 |
---|---|---|
committer | Jin Ma <jinma@linux.alibaba.com> | 2025-02-15 16:04:34 +0800 |
commit | 25a103feb3056bc483a1558af315be452060035b (patch) | |
tree | e552f46d5c1f06570b6066f576aacdfd4b690ebf /gcc/fortran/trans-expr.cc | |
parent | 112ac3a3ab244322f74fecd5547fcc4883e5e15a (diff) | |
download | gcc-25a103feb3056bc483a1558af315be452060035b.zip gcc-25a103feb3056bc483a1558af315be452060035b.tar.gz gcc-25a103feb3056bc483a1558af315be452060035b.tar.bz2 |
RISC-V: Bugfix ICE for RVV intrinisc when using no-extension parameters
When using riscv_v_abi, the return and arguments of the function should
be adequately checked to avoid ICE.
PR target/118872
gcc/ChangeLog:
* config/riscv/riscv.cc (riscv_fntype_abi): Strengthen the logic
of the check to avoid missing the error report.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/base/pr118872.c: New test.
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Jin Ma <jinma@linux.alibaba.com>
Diffstat (limited to 'gcc/fortran/trans-expr.cc')
0 files changed, 0 insertions, 0 deletions