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

--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andrew Pinski <pins...@gcc.gnu.org>:

https://gcc.gnu.org/g:66c879571ab1fbdb4b119b8b0a1a30ebc7160057

commit r16-2450-g66c879571ab1fbdb4b119b8b0a1a30ebc7160057
Author: Andrew Pinski <quic_apin...@quicinc.com>
Date:   Tue Jul 22 10:26:54 2025 -0700

    aarch64: Fix fma steering when rename fails [PR120119]

    Regrename can fail in some case and `insn_rr[INSN_UID (insn)].op_info`
    will be null. The FMA steering code was not expecting the failure to
happen.
    This started to happen after early RA was added but it has been a latent
bug
    before that.

    Build and tested for aarch64-linux-gnu.

            PR target/120119

    gcc/ChangeLog:

            * config/aarch64/cortex-a57-fma-steering.cc
(func_fma_steering::analyze):
            Skip if renaming fails.

    gcc/testsuite/ChangeLog:

            * g++.dg/torture/pr120119-1.C: New test.

    Signed-off-by: Andrew Pinski <quic_apin...@quicinc.com>

Reply via email to