[Ada] Finalization of uninitialized object with build in place call
authorArnaud Charlet <charlet@adacore.com>
Sun, 28 Jun 2020 10:24:26 +0000 (06:24 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 16 Oct 2020 07:31:29 +0000 (03:31 -0400)
commit7e8e3cb479dcfdd58dd42825ad7b6c8d39c5ac0e
treeac5dea861317ab57503b83042726bbc5cc0c0ddd
parentb87042ccc5d066af9de71e215364d40959e11849
[Ada] Finalization of uninitialized object with build in place call

gcc/ada/

* exp_ch6.adb (Make_Build_In_Place_Call_In_Object_Declaration):
Call Set_BIP_Initialization_Call systematically.
* exp_ch7.adb (Process_Transient_In_Scope): Take
BIP_Initialization_Call into account to decide where to insert
the Hook.
gcc/ada/exp_ch6.adb
gcc/ada/exp_ch7.adb