aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-attribs.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2025-08-11 10:42:47 +0200
committerRichard Biener <rguenth@gcc.gnu.org>2025-08-12 08:36:56 +0200
commit5294840e3c7bf9bd98016dec07f54ee8dc71714a (patch)
tree29124263c561e2724db2882e12fb09d4a9de0bd0 /gcc/rust/rust-attribs.cc
parent6d9c1aad2c46092ac0e5adcaad2ea5af57fad180 (diff)
downloadgcc-5294840e3c7bf9bd98016dec07f54ee8dc71714a.zip
gcc-5294840e3c7bf9bd98016dec07f54ee8dc71714a.tar.gz
gcc-5294840e3c7bf9bd98016dec07f54ee8dc71714a.tar.bz2
tree-optimization/121493 - another missed VN with aggregate copy
This is another case where opportunistically handling a first aggregate copy where we failed to match up the refs exactly (as we don't insert missing handling components) yields to a failure in the second aggregate copy that we visit. Add another fixup to deal with such situations, in-line with that present opportunistic handling. PR tree-optimization/121493 * tree-ssa-sccvn.cc (vn_reference_lookup_3): Opportunistically strip components with known offset. * gcc.dg/tree-ssa/ssa-fre-109.c: New testcase.
Diffstat (limited to 'gcc/rust/rust-attribs.cc')
0 files changed, 0 insertions, 0 deletions