]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Further cleanup in finalization machinery
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 24 Oct 2023 07:50:25 +0000 (09:50 +0200)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 21 Nov 2023 09:57:41 +0000 (10:57 +0100)
commit6f69104c9e7cc455cc83139b063c08124e465f64
tree664024a670bece496e9d40e2e48bfeda7fb2b63b
parentfee97b366b10acbbc0aa5300c2ad753c18d2b266
ada: Further cleanup in finalization machinery

This removes the specific treatment of transient scopes in initialization
procedures, which is obsolete.

gcc/ada/

* exp_aggr.adb (Convert_To_Assignments): Do not treat initialization
procedures specially when it comes to creating a transient scope.
* exp_ch7.adb (Build_Finalizer.Process_Declarations): Likewise.
* exp_util.adb (Requires_Cleanup_Actions): Likewise.
gcc/ada/exp_aggr.adb
gcc/ada/exp_ch7.adb
gcc/ada/exp_util.adb