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

--- Comment #6 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:33caee556c130b2dcf311480314e942a43d6b368

commit r15-1359-g33caee556c130b2dcf311480314e942a43d6b368
Author: Andrew Pinski <quic_apin...@quicinc.com>
Date:   Sun Jun 16 10:53:15 2024 -0700

    aarch64: Fix reg_is_wrapped_separately array size [PR100211]

    Currrently the size of the array reg_is_wrapped_separately is
LAST_SAVED_REGNUM.
    But LAST_SAVED_REGNUM could be regno that is being saved. So the size needs
    to be `LAST_SAVED_REGNUM + 1` like aarch64_frame->reg_offset is.

    Committed as obvious after a bootstrap/test for aarch64-linux-gnu.

    gcc/ChangeLog:

            PR target/100211
            * config/aarch64/aarch64.h (machine_function): Fix the size
            of reg_is_wrapped_separately.

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

Reply via email to