]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Add reference counting in functional containers
authorJulien Bortolussi <bortolussi@adacore.com>
Thu, 21 Apr 2022 09:11:26 +0000 (11:11 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 1 Jun 2022 08:43:16 +0000 (08:43 +0000)
commitf3949a2e785eb387d7e25d5ab06f4662d643d8fc
treec7de906cb048c13b2fb16c3d0a6b6cdbd7d980f2
parente1379eeec11098cf8ec006bc0d3ac95beb2ad273
[Ada] Add reference counting in functional containers

This patch adds reference counting to dynamically allocated pointers
on arrays and elements used by the functional container. This is done
by making both the arrays and the elements controlled.

gcc/ada/

* libgnat/a-cofuba.ads, libgnat/a-cofuba.adb: Add reference
counting.
gcc/ada/libgnat/a-cofuba.adb
gcc/ada/libgnat/a-cofuba.ads