diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2024-08-20 22:59:58 +0200 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2024-09-03 10:16:47 +0200 |
commit | d8d191469e1e08e7b8530874cbb0f2781dc2e14d (patch) | |
tree | 9fcbc78b5d7143d816a53344ff2ff75ea8b68e94 /gcc/fold-const.cc | |
parent | 9ba7262c8de0a96e85cc1ad05e2c3666228c74e8 (diff) | |
download | gcc-d8d191469e1e08e7b8530874cbb0f2781dc2e14d.zip gcc-d8d191469e1e08e7b8530874cbb0f2781dc2e14d.tar.gz gcc-d8d191469e1e08e7b8530874cbb0f2781dc2e14d.tar.bz2 |
ada: Pass unaligned record components by copy in calls on all platforms
This has historically been done only on platforms requiring the strict
alignment of memory references, but this can arguably be considered as
being mandated by the language on all of them.
gcc/ada/
* gcc-interface/trans.cc (addressable_p) <COMPONENT_REF>: Take into
account the alignment of the field on all platforms.
Diffstat (limited to 'gcc/fold-const.cc')
0 files changed, 0 insertions, 0 deletions