diff options
author | Marc Poulhiès <poulhies@adacore.com> | 2023-04-03 16:36:13 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-05-30 09:12:18 +0200 |
commit | 203dece1e9d061582f34009907c048be628e960d (patch) | |
tree | d954ebedb287f0d32014379a05e4cfd2315a7004 /gcc/tree-vectorizer.h | |
parent | 0a769b29ee0beef9998f7694894b6c8f5aa93e6a (diff) | |
download | gcc-203dece1e9d061582f34009907c048be628e960d.zip gcc-203dece1e9d061582f34009907c048be628e960d.tar.gz gcc-203dece1e9d061582f34009907c048be628e960d.tar.bz2 |
ada: Fix incorrect copies being used with 'Address
When using 'Address on an object with a size clause, gigi would end up
creating a copy and using its address instead of the one of the original
object, leading to incorrect behavior. Remove the conversion (that
triggers the copy) when 'Address is applied to a declaration.
gcc/ada/
* gcc-interface/trans.cc (Attribute_to_gnu): Also strip conversion
in case of DECL.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions