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

--- Comment #2 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:39acf3c9dd767626b422843adb8f5be06206af08

commit r16-3302-g39acf3c9dd767626b422843adb8f5be06206af08
Author: Andrew Pinski <andrew.pin...@oss.qualcomm.com>
Date:   Tue Aug 19 16:14:57 2025 -0700

    sra: Make build_ref_for_offset static [PR121568]

    build_ref_for_offset was originally made external
    with r0-95095-g3f84bf08c48ea4. The call was extracted
    out into ipa_get_jf_ancestor_result by r0-110216-g310bc6334823b9.
    Then the call was removed by r10-7273-gf3280e4c0c98e1.
    So there is no use of build_ref_for_offset outside of SRA, so
    let's make it static again.

    Bootstrapped and tested on x86_64-linux-gnu.

            PR tree-optimization/121568
    gcc/ChangeLog:

            * ipa-prop.h (build_ref_for_offset): Remove.
            * tree-sra.cc (build_ref_for_offset): Make static.

    Signed-off-by: Andrew Pinski <andrew.pin...@oss.qualcomm.com>

Reply via email to