]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/116785 - relax volatile handling in PTA
authorRichard Biener <rguenther@suse.de>
Fri, 27 Sep 2024 11:50:31 +0000 (13:50 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 30 Sep 2024 05:41:04 +0000 (07:41 +0200)
commit85f5d0642184b68b38bf3daee5a1d04b753850b1
tree20460d698b7ce3c5662c728ff3cf5ceea2075c06
parent64163657ba7e70347087a63bb2b32d83b52ea7d9
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.
gcc/tree-ssa-structalias.cc