diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2024-12-03 22:36:15 +0100 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2025-01-03 16:39:11 +0100 |
commit | 0f7b8a89c325babc2e4abf0097c9f26cb2569114 (patch) | |
tree | 1dd6cb8b9766d9b022034926082b3f3335f73579 /gcc/fortran | |
parent | 2c1200d671759d7d138a15b3f891d88cc5fc48da (diff) | |
download | gcc-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 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions