https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114710
--- Comment #5 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:72ccc99d6fc22aaae4aaf74027329acafd70cbfc commit r15-1271-g72ccc99d6fc22aaae4aaf74027329acafd70cbfc Author: Eric Botcazou <ebotca...@adacore.com> Date: Thu Apr 25 16:05:33 2024 +0200 ada: Fix oversight in latest finalization fix The Defining_Identifier of a renaming may be a E_Constant in the context. gcc/ada/ PR ada/114710 * exp_util.adb (Find_Renamed_Object): Recurse for any renaming.