https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119973
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:7a16ef443b13fff9537baa533597836c57131262 commit r16-193-g7a16ef443b13fff9537baa533597836c57131262 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.