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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by LuluCheng
<chengl...@gcc.gnu.org>:

https://gcc.gnu.org/g:9a09fc9b8495f6cfa7b848b0064a96112dcb4a7f

commit r14-11275-g9a09fc9b8495f6cfa7b848b0064a96112dcb4a7f
Author: Lulu Cheng <chengl...@loongson.cn>
Date:   Wed Jan 22 17:57:21 2025 +0800

    LoongArch: Fix ICE caused by illegal calls to builtin functions [PR118561].

            PR target/118561

    gcc/ChangeLog:

            * config/loongarch/loongarch-builtins.cc
            (loongarch_expand_builtin_lsx_test_branch):
            NULL_RTX will not be returned when an error is detected.
            (loongarch_expand_builtin): Likewise.

    gcc/testsuite/ChangeLog:

            * gcc.target/loongarch/pr118561.c: New test.

    (cherry picked from commit 50d2bde68a097c2e9fb3bdd7e6664c8988889828)

Reply via email to