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

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Richard Sandiford
<rsand...@gcc.gnu.org>:

https://gcc.gnu.org/g:17cce5f59a4d9cdb87f59c6841da89c9ea2ef8d5

commit r14-11633-g17cce5f59a4d9cdb87f59c6841da89c9ea2ef8d5
Author: Richard Sandiford <richard.sandif...@arm.com>
Date:   Wed Apr 16 13:20:27 2025 +0100

    aarch64: Use force_lowpart_subreg in a BFI splitter [PR119133]

    lowpart_subreg ICEs are the gift that keeps giving.  This is another
    case where we need to use force_lowpart_subreg instead, to handle
    cases where the input is already a subreg and where the combined
    subreg is not allowed as a single operation.

    We don't need to check can_create_pseudo_p since the input should
    be a hard register rather than a subreg if !can_create_pseudo_p.

    gcc/
            PR target/119133
            * config/aarch64/aarch64.md
            (*aarch64_bfi<GPI:mode><ALLX:mode>_<SUBDI_BITS>): Use
            force_lowpart_subreg.

    gcc/testsuite/
            PR target/119133
            * gcc.dg/torture/pr119133.c: New test.

    (cherry picked from commit 5ae621e2e86c00d1fb13ef6839d0c3bace762ac8)

Reply via email to