https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114710
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Marc Poulhi?s <d...@gcc.gnu.org>: https://gcc.gnu.org/g:916a0f026e1516de4608b308cd7e4b68b8e562bb commit r15-1264-g916a0f026e1516de4608b308cd7e4b68b8e562bb Author: Eric Botcazou <ebotca...@adacore.com> Date: Tue Apr 23 19:54:32 2024 +0200 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.