diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2024-02-16 10:30:17 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-05-14 10:19:59 +0200 |
commit | a252022d9a1f285e471d8b3b37fe645244919ab5 (patch) | |
tree | 8d5eb8623a15c12e1081be1f7d4e69c900fd5277 /gcc/expr.cc | |
parent | 13d8374188eea21d56603135b6af254599c9e4b3 (diff) | |
download | gcc-a252022d9a1f285e471d8b3b37fe645244919ab5.zip gcc-a252022d9a1f285e471d8b3b37fe645244919ab5.tar.gz gcc-a252022d9a1f285e471d8b3b37fe645244919ab5.tar.bz2 |
ada: Fix small inaccuracy in previous change
The call to Build_Allocate_Deallocate_Proc must occur before the special
accessibility check for class-wide allocation is generated, because this
check comes with cleanup code.
gcc/ada/
* exp_ch4.adb (Expand_Allocator_Expression): Move the first call to
Build_Allocate_Deallocate_Proc up to before the accessibility check.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions