aboutsummaryrefslogtreecommitdiff
path: root/gcc/common
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2024-08-25 15:20:59 +0200
committerMarc Poulhiès <dkm@gcc.gnu.org>2024-09-05 10:10:13 +0200
commit72c6938f29cbeddb3220720e68add4cf09ffd794 (patch)
tree49980048e35417ef716c2072ee3dc9d10f5d7bb0 /gcc/common
parent23f0bfa027f81a40f8c94a657f7427ed7573b6e8 (diff)
downloadgcc-72c6938f29cbeddb3220720e68add4cf09ffd794.zip
gcc-72c6938f29cbeddb3220720e68add4cf09ffd794.tar.gz
gcc-72c6938f29cbeddb3220720e68add4cf09ffd794.tar.bz2
ada: Streamline handling of low-level peculiarities of record field layout
This factors out the interface to the low-level field layout machinery. gcc/ada/ * gcc-interface/gigi.h (default_field_alignment): New function. * gcc-interface/misc.cc: Include tm_p header file. (default_field_alignment): New function. * gcc-interface/trans.cc (addressable_p) <COMPONENT_REF>: Replace previous alignment klduge with call to default_field_alignment. * gcc-interface/utils.cc (finish_record_type): Likewise for the alignment based on which DECL_BIT_FIELD should be cleared.
Diffstat (limited to 'gcc/common')
0 files changed, 0 insertions, 0 deletions