https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118872

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Ma Jin <ma...@gcc.gnu.org>:

https://gcc.gnu.org/g:25a103feb3056bc483a1558af315be452060035b

commit r15-7550-g25a103feb3056bc483a1558af315be452060035b
Author: Jin Ma <ji...@linux.alibaba.com>
Date:   Fri Feb 14 14:58:49 2025 +0800

    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 <pal...@rivosinc.com>
    Signed-off-by: Jin Ma <ji...@linux.alibaba.com>

Reply via email to