diff options
author | Richard Biener <rguenther@suse.de> | 2022-06-30 10:33:40 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-07-01 08:51:59 +0200 |
commit | 9701432ff79926a5dd3303be3417e0bd0c24140b (patch) | |
tree | 28ebb1dfc448666ad234dc98d576fd5d3f7b0444 /gcc/expr.cc | |
parent | 618bac5b486832edd3f8eb3ada74740e389dfcb8 (diff) | |
download | gcc-9701432ff79926a5dd3303be3417e0bd0c24140b.zip gcc-9701432ff79926a5dd3303be3417e0bd0c24140b.tar.gz gcc-9701432ff79926a5dd3303be3417e0bd0c24140b.tar.bz2 |
tree-optimization/106131 - wrong code with FRE rewriting
The following makes sure to not use the original TBAA type for
looking up a value across an aggregate copy when we had to offset
the read.
2022-06-30 Richard Biener <rguenther@suse.de>
PR tree-optimization/106131
* tree-ssa-sccvn.cc (vn_reference_lookup_3): Force alias-set
zero when offsetting the read looking through an aggregate
copy.
* g++.dg/torture/pr106131.C: New testcase.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions