aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-modref.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2021-09-28 18:26:38 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2021-10-11 13:38:13 +0000
commit5ea133c6ce09fbeeec91457a38689cdac7c05d91 (patch)
tree6db0f0702ea1a0371a6647b3aa3f8f3cbcbe33e6 /gcc/ipa-modref.c
parent92961bdf2dfc63965a05302aac6c907065bd2c27 (diff)
downloadgcc-5ea133c6ce09fbeeec91457a38689cdac7c05d91.zip
gcc-5ea133c6ce09fbeeec91457a38689cdac7c05d91.tar.gz
gcc-5ea133c6ce09fbeeec91457a38689cdac7c05d91.tar.bz2
[Ada] Fix for atomic wrongly rejected on object of discriminated type
gcc/ada/ * gcc-interface/decl.c (promote_object_alignment): Add GNU_SIZE parameter and use it for the size of the object if not null. (gnat_to_gnu_entity) <E_Variable>: Perform the automatic alignment promotion for objects whose nominal subtype is of variable size. (gnat_to_gnu_field): Adjust call to promote_object_alignment.
Diffstat (limited to 'gcc/ipa-modref.c')
0 files changed, 0 insertions, 0 deletions