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 <[email protected]>:

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

commit r15-7550-g25a103feb3056bc483a1558af315be452060035b
Author: Jin Ma <[email protected]>
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 <[email protected]>
    Signed-off-by: Jin Ma <[email protected]>

Reply via email to