]> gcc.gnu.org Git - gcc.git/commit
ada: Fix missing finalization in separate package body
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 9 Feb 2023 15:05:16 +0000 (16:05 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Mon, 22 May 2023 08:44:11 +0000 (10:44 +0200)
commitc58d5574ae74c414c73558288fad42c229695881
treef764535b32066c00718a8cdcd5ae97a2e6b0e184
parent8c7a0c389e2f1ff2be476c9b3c561cab7f9b17e2
ada: Fix missing finalization in separate package body

This directly comes from a loophole in the implementation.

gcc/ada/

* exp_ch7.adb (Process_Package_Body): New procedure taken from...
(Build_Finalizer.Process_Declarations): ...here.  Call the above
procedure to deal with both package bodies and package body stubs.
gcc/ada/exp_ch7.adb
This page took 0.065242 seconds and 6 git commands to generate.