diff options
author | Richard Biener <rguenther@suse.de> | 2022-03-31 08:20:43 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-03-31 09:18:42 +0200 |
commit | b75f996e846d079251f3a6134617f0405c3ed535 (patch) | |
tree | 43ba939a6adf42a6a7b6a55526cffee008dda79b /gcc/function.cc | |
parent | b8207ad367174df5f2e2fdf3305c97ed227d8f78 (diff) | |
download | gcc-b75f996e846d079251f3a6134617f0405c3ed535.zip gcc-b75f996e846d079251f3a6134617f0405c3ed535.tar.gz gcc-b75f996e846d079251f3a6134617f0405c3ed535.tar.bz2 |
rtl-optimization/105091 - wrong DSE with missed TREE_ADDRESSABLE
When expanding an aggregate copy into a memcpy call RTL expansion
uses mark_addressable to ensure the base object is addressable but
that function doesn't handle TARGET_MEM_REF bases. Fixed as follows.
2022-03-31 Richard Biener <rguenther@suse.de>
PR rtl-optimization/105091
* gimple-expr.cc (mark_addressable): Handle TARGET_MEM_REF
bases.
Diffstat (limited to 'gcc/function.cc')
0 files changed, 0 insertions, 0 deletions