diff options
author | Thomas Quinot <quinot@adacore.com> | 2006-02-15 10:38:10 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2006-02-15 10:38:10 +0100 |
commit | dfd99a80f01f7020727987fe981a2fe17ad034e5 (patch) | |
tree | 206359c222e19b3caaae36b5e2fbd40231df7656 /gcc/ada/expect.c | |
parent | a05e99a2693109e7a2b4fffe853890946cd0320d (diff) | |
download | gcc-dfd99a80f01f7020727987fe981a2fe17ad034e5.zip gcc-dfd99a80f01f7020727987fe981a2fe17ad034e5.tar.gz gcc-dfd99a80f01f7020727987fe981a2fe17ad034e5.tar.bz2 |
exp_ch4.adb (Expand_Allocator_Expression): Pass Allocator => True to Make_Adjust_Call done for a newly-allocated object.
2006-02-13 Thomas Quinot <quinot@adacore.com>
Ed Schonberg <schonberg@adacore.com>
* exp_ch4.adb (Expand_Allocator_Expression): Pass Allocator => True to
Make_Adjust_Call done for a newly-allocated object.
* exp_ch7.ads, exp_ch7.adb (Expand_Cleanup_Actions): If the statements
in a subprogram are wrapped in a cleanup block, indicate that the
subprogram contains an inner block with an exception handler.
(Make_Adjust_Call): New Boolean formal Allocator indicating whether the
Adjust call is for a newly-allocated object. In that case we must not
assume that the finalization list chain pointers are correct (since they
come from a bit-for-bit copy of the original object's pointers) so if
the attach level would otherwise be zero (no change), we set it to 4
instead to cause the pointers to be reset to null.
* s-finimp.adb (Attach_To_Final_List): New attach level: 4, meaning
reset chain pointers to null.
From-SVN: r111060
Diffstat (limited to 'gcc/ada/expect.c')
0 files changed, 0 insertions, 0 deletions