https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128693
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu.org
Summary|[14/15/16/17 Regression] |[14/15/16/17 Regression]
|Storage leak with -gnata: |Storage leak with
|conditionally evaluated |conditionally evaluated
|'Old of a tagged type or of |'Old of type that needs
|a type that needs |finalization
|finalization is never freed |
--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
The current implementation indeed does not work as intended.