aboutsummaryrefslogtreecommitdiff
path: root/libphobos/src
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2024-12-03 22:36:15 +0100
committerMarc Poulhiès <dkm@gcc.gnu.org>2025-01-03 16:39:11 +0100
commit0f7b8a89c325babc2e4abf0097c9f26cb2569114 (patch)
tree1dd6cb8b9766d9b022034926082b3f3335f73579 /libphobos/src
parent2c1200d671759d7d138a15b3f891d88cc5fc48da (diff)
downloadgcc-0f7b8a89c325babc2e4abf0097c9f26cb2569114.zip
gcc-0f7b8a89c325babc2e4abf0097c9f26cb2569114.tar.gz
gcc-0f7b8a89c325babc2e4abf0097c9f26cb2569114.tar.bz2
ada: Fix double free at run time for class-wide allocation
The previous change was too aggressive and overlooked a specific case. gcc/ada/ChangeLog: * exp_ch4.adb (Expand_Allocator_Expression): Put back the call to Remove_Side_Effects in the case of a function call, a class-wide designated type and a regular storage pool.
Diffstat (limited to 'libphobos/src')
0 files changed, 0 insertions, 0 deletions