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

--- Comment #16 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Richard Earnshaw
<[email protected]>:

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

commit r15-10840-gd6c051485b56046e1c2e65cb144da5e533808133
Author: Richard Earnshaw <[email protected]>
Date:   Tue Feb 17 16:19:32 2026 +0000

    arm: don't allow movMcc when short-it but no vsel [PR124134]

    Perverse combinations of options can lead to the compiler having to
    work around unexpected situations.  Armv8 originally specified that
    complex IT sequences were deprecated for performance (it was later
    rescinded).  If the options restrict the floating-point unit to
    one without vsel, then movMcc patterns need complex IT sequences
    and we can end up with unmatched RTL patterns.  Avoid this by
    failing early when the target patterns are disabled.

    gcc/ChangeLog:

            PR target/124134
            * config/arm/arm.md (movsfcc): FAIL if using restricted IT
            blocks and we lack VSEL.
            (movdfcc): Likewise.

    gcc/testsuite/ChangeLog:

            PR target/124134
            * gcc.target/arm/pr124134.c: New test.

    (cherry picked from commit 06221fe413302f16bbbc22324f98173f45ea9088)

Reply via email to