On 08/08/2025 15:59, Andre Vieira (lists) wrote:
Fix the bound checking for the opc1 operand of the following intrinsics:
   __arm_mcrr
   __arm_mcrr2
   __arm_mrrc
   __arm_mrrc2

Built arm-none-linux-gnueabihf and ran full regression test, and built arm-none-eabi but only ran the changed tests on that config.

OK for trunk and backport to all open branches (after a week or so)?

gcc/ChangeLog:

     PR target/121464
     * config/arm/arm.md (arm_<mrrc>, arm_<mcrr>): Fix operand check.

gcc/testsuite/ChangeLog:

     PR target/121464
     * testsuite/gcc.target/arm/acle/mcrr.c: Update testcase.
     * testsuite/gcc.target/arm/acle/mcrr2.c: Likewise.
     * testsuite/gcc.target/arm/acle/mrrc.c: Likewise.
     * testsuite/gcc.target/arm/acle/mrrc2.c: Likewise.

OK.  And ok to backport as described.

R.

Reply via email to