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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Li Xu <x...@gcc.gnu.org>:

https://gcc.gnu.org/g:b22b845834f8bdc4e18d95b4f36ba702c01ed5f8

commit r13-7996-gb22b845834f8bdc4e18d95b4f36ba702c01ed5f8
Author: xuli <xu...@eswincomputing.com>
Date:   Tue Oct 24 07:39:02 2023 +0000

    RISC-V: Fix ICE of RVV vget/vset intrinsic[PR111935]

    Calling vget/vset intrinsic without receiving a return value will cause
    a crash. Because in this case e.target is null.
    This patch should be backported to releases/gcc-13.

            PR target/111935

    gcc/ChangeLog:

            * config/riscv/riscv-vector-builtins-bases.cc: fix bug.

    gcc/testsuite/ChangeLog:

            * gcc.target/riscv/rvv/base/pr111935.c: New test.

    (cherry picked from commit b44d4ff7b43ff6a34d5c074c7ade03c4a38974fa)

Reply via email to