aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-expr.cc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2024-12-13 19:17:00 +0100
committerMarc Poulhiès <dkm@gcc.gnu.org>2025-01-06 10:14:49 +0100
commitad8242d616da64a03680a1d304910cdb0f3ceb18 (patch)
tree8e935f3a39ca73dad485da819c44c409bfdda6f4 /gcc/fortran/trans-expr.cc
parent0d736433f9261fb9705f860a2e41cc407ecd972c (diff)
downloadgcc-ad8242d616da64a03680a1d304910cdb0f3ceb18.zip
gcc-ad8242d616da64a03680a1d304910cdb0f3ceb18.tar.gz
gcc-ad8242d616da64a03680a1d304910cdb0f3ceb18.tar.bz2
ada: Streamline runtime support of finalization collections
Finalization collections are declared as (limited) controlled types so that they can be naturally attached to a finalization master, but the same result can be achieved by means of (limited) finalizable types, which need not be tagged and thus avoid dragging the runtime support of tagged types. gcc/ada/ChangeLog: * libgnat/s-finpri.ads: Remove clause for Ada.Finalization. (Finalization_Collection): Change to limited private type with the Finalizable aspect. (Initialize): Remove "overriding" keyword. (Finalize): Likewise. * libgnat/s-finpri.adb (Initialize): Likewise. (Finalize): Likewise.
Diffstat (limited to 'gcc/fortran/trans-expr.cc')
0 files changed, 0 insertions, 0 deletions