https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116785
--- Comment #12 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:85f5d0642184b68b38bf3daee5a1d04b753850b1 commit r15-3956-g85f5d0642184b68b38bf3daee5a1d04b753850b1 Author: Richard Biener <rguent...@suse.de> Date: Fri Sep 27 13:50:31 2024 +0200 tree-optimization/116785 - relax volatile handling in PTA When there's volatile qualified stores we do not have to treat the destination as pointing to ANYTHING. It's only when reading from it that we want to treat the resulting pointers as pointing to ANYTHING. PR tree-optimization/116785 * tree-ssa-structalias.cc (get_constraint_for_1): Only volatile qualified reads produce ANYTHING.