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

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

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

commit r15-10955-gd6766412142ca1334210e948881185c787ee86bc
Author: Jakub Jelinek <[email protected]>
Date:   Fri Mar 13 09:16:26 2026 +0100

    i386: Fix up movrs<mode> suffix for -masm=intel [PR124461]

    For movrs<mode> the insn was using insn suffix unconditionally, so
    movrsl or movrsq even for -masm=intel, when gas expects movrs and derives
    what size of insn it is from the operands.

    There is no movrs effective target, so I've just used dg-do compile with
    scan-assembler to test it instead of dg-do assemble.

    2026-03-13  Jakub Jelinek  <[email protected]>

            PR target/124461
            * config/i386/i386.md (movrs<mode>): Use <imodesuffix> only for
            -masm=att, not for -masm=intel.

            * gcc.target/i386/movrs-pr124461.c: New test.

    Reviewed-by: Uros Bizjak <[email protected]>
    (cherry picked from commit 418e161083a162721488468f3a50f739becb1700)

Reply via email to