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

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

https://gcc.gnu.org/g:50d2bde68a097c2e9fb3bdd7e6664c8988889828

commit r15-7386-g50d2bde68a097c2e9fb3bdd7e6664c8988889828
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.

Reply via email to