https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115199
--- Comment #7 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:f0a02467bbc35a478eb82f5a8a7e8870827b51fc commit r15-792-gf0a02467bbc35a478eb82f5a8a7e8870827b51fc Author: Richard Biener <rguent...@suse.de> Date: Thu May 23 13:33:15 2024 +0200 tree-optimization/115199 - fix PTA constraint processing for &ANYTHING LHS When processing a &ANYTHING = X constraint we treat it as *ANYTHING = X during constraint processing but then end up recording it as &ANYTHING = X anyway, breaking constraint graph building. This is because we only update the local copy of the LHS and not the constraint itself. PR tree-optimization/115199 * tree-ssa-structalias.cc (process_constraint): Also record &ANYTHING = X as *ANYTING = X in the end. * gcc.dg/torture/pr115199.c: New testcase.