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

--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Richard Biener
<rgue...@gcc.gnu.org>:

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

commit r15-9621-gb36014e10c95d3ada1dcdf4695626af90fba0a99
Author: Richard Biener <rguent...@suse.de>
Date:   Mon Apr 28 11:15:53 2025 +0200

    ipa/119973 - IPA PTA issue with global initializers

    For global initializers with IPA PTA we initialize them from the
    IPA reference data but that lacks references to the constant pool.
    The following conservatively considers the whole initializer.

            PR ipa/119973
            * tree-ssa-structalias.cc (create_variable_info_for):
            Build constraints from DECL_INITIAL directly rather than
            the IPA reference list which is incomplete.

            * gcc.dg/torture/pr119973.c: New testcase.

    (cherry picked from commit 7a16ef443b13fff9537baa533597836c57131262)

Reply via email to