aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/fe.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2023-12-16 11:34:48 +0100
committerMarc Poulhiès <poulhies@adacore.com>2024-05-06 11:11:28 +0200
commit3862106d3506293ad5af2fc04d2d21ef3a5e0edf (patch)
tree5e70b9d2a0176febc1be5dae4a55a2e813d456bb /gcc/ada/fe.h
parent0b591735952e006c00be23e5b64631809bd93d10 (diff)
downloadgcc-3862106d3506293ad5af2fc04d2d21ef3a5e0edf.zip
gcc-3862106d3506293ad5af2fc04d2d21ef3a5e0edf.tar.gz
gcc-3862106d3506293ad5af2fc04d2d21ef3a5e0edf.tar.bz2
ada: Fix wrong Finalization_Size for No_Heap_Finalization objects
When an access type is subject to the No_Heap_Finalization pragma, no header is added in front of objects allocated through it, and the value returned by Finalization_Size is defined to be the size of this header. gcc/ada/ * exp_attr.adb (Expand_N_Attribute_Reference) <Finalization_Size>: Return 0 if the prefix is a dereference of an access value subject to the No_Heap_Finalization pragma.
Diffstat (limited to 'gcc/ada/fe.h')
0 files changed, 0 insertions, 0 deletions