]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Fix fallout of previous finalization change
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 23 Apr 2024 17:54:32 +0000 (19:54 +0200)
committerMarc Poulhiès <poulhies@adacore.com>
Thu, 13 Jun 2024 13:30:28 +0000 (15:30 +0200)
commit916a0f026e1516de4608b308cd7e4b68b8e562bb
tree855d913b2a903f55de53a97be46d777b0c4b2d3a
parent50ffb636ca0553825fa4693f9b6759683a35f94a
ada: Fix fallout of previous finalization change

Now that Is_Finalizable_Transient only looks at the renamings coming from
nontransient objects serviced by transient scopes, it must find the object
ultimately renamed by them through a chain of renamings.

gcc/ada/

PR ada/114710
* exp_util.adb (Find_Renamed_Object): Recurse if the renamed object
is itself a renaming.
gcc/ada/exp_util.adb