commit | 7b4e397c5790055d7791fc341b87f7fb35ff2d6c | [log] [tgz] |
---|---|---|
author | Ronan Desplanques <desplanques@adacore.com> | Fri Jun 20 09:59:36 2025 +0200 |
committer | Eric Botcazou <ebotcazou@adacore.com> | Fri Jul 04 10:18:32 2025 +0200 |
tree | 0ac7c91777bef7881444474a17dfa169242aae73 | |
parent | e6e1d889b5603a617cbc7fca7d0f5b2751b2d489 [diff] |
ada: Fix selection of Finalize subprogram in untagged case The newly introduced Finalizable aspect makes it possible to derive from a type that is not tagged but has a Finalize primitive. This patch fixes problems where overridings of the Finalize primitive were ignored. gcc/ada/ChangeLog: * exp_ch7.adb (Make_Final_Call): Tweak search of Finalize primitive. * exp_util.adb (Finalize_Address): Likewise.