diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2023-11-17 11:56:37 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-11-30 11:12:46 +0100 |
commit | 925f96eab82bad8e237887d5860442d012b68e36 (patch) | |
tree | 3cccd8e142d7b955ed4feb9cfc4413cce76d40a3 /gcc/alloc-pool.h | |
parent | 2a50a4d4bca09c1c1b255f3ce6c06be57f62889b (diff) | |
download | gcc-925f96eab82bad8e237887d5860442d012b68e36.zip gcc-925f96eab82bad8e237887d5860442d012b68e36.tar.gz gcc-925f96eab82bad8e237887d5860442d012b68e36.tar.bz2 |
ada: Fix predicate check failure in Expand_Allocator_Expression
The For_Special_Return_Object flag needs to be accessed on entry of the
procedure in case the allocator is rewritten during the processing.
gcc/ada/
* exp_ch4.adb (Expand_Allocator_Expression): Add Special_Return
boolean constant to hold the value of For_Special_Return_Object
for the allocator and use it throughout the procedure.
Diffstat (limited to 'gcc/alloc-pool.h')
0 files changed, 0 insertions, 0 deletions