aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2024-02-16 10:30:17 +0100
committerMarc Poulhiès <poulhies@adacore.com>2024-05-14 10:19:59 +0200
commita252022d9a1f285e471d8b3b37fe645244919ab5 (patch)
tree8d5eb8623a15c12e1081be1f7d4e69c900fd5277 /gcc/expr.cc
parent13d8374188eea21d56603135b6af254599c9e4b3 (diff)
downloadgcc-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