aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/a-chtgke.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2014-02-20 14:46:15 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2014-02-20 14:46:15 +0100
commitfe4552f4aa8a2a96a58bd2c2d4db8a41bee97936 (patch)
treee4cb8c593b1d1ed9ddb71de7b3a687023bdc39ba /gcc/ada/a-chtgke.adb
parent3730c4a046da49313042333a265c63567eb127d9 (diff)
downloadgcc-fe4552f4aa8a2a96a58bd2c2d4db8a41bee97936.zip
gcc-fe4552f4aa8a2a96a58bd2c2d4db8a41bee97936.tar.gz
gcc-fe4552f4aa8a2a96a58bd2c2d4db8a41bee97936.tar.bz2
[multiple changes]
2014-02-20 Robert Dewar <dewar@adacore.com> * a-crbtgk.adb, a-cihama.adb, a-coinve.adb, a-ciorse.adb, a-crbtgo.adb, a-cidlli.adb, a-cimutr.adb, a-cihase.adb, a-cohama.adb, a-coorse.adb, a-chtgke.adb, a-chtgop.adb, a-comutr.adb, a-ciorma.adb, a-cobove.adb, a-convec.adb, a-cohase.adb, a-chtgbk.adb, a-chtgbo.adb: Minor reformatting. 2014-02-20 Bob Duff <duff@adacore.com> * s-os_lib.ads: Minor: Remove incorrect comment. 2014-02-20 Robert Dewar <dewar@adacore.com> * sem_elab.adb (Check_Elab_Assign): Clearer warning message. 2014-02-20 Vincent Celier <celier@adacore.com> * gnat_rm.texi: Minor syntax error fix. 2014-02-20 Ed Schonberg <schonberg@adacore.com> * a-cborma.adb (Assign): When creating a node without a specified element, insert an uninitialized element in the map, because the instance may provide an element type with a default initialization, e.g a scalar with a Default_Value aspect. * a-cbhama.adb (Assign_Key): Remove useless Allocate procedure. (Insert): In the version without explicit element, provide an uninitialized element, as above. * a-cbdlli.adb (Append): In the version without explicit element, provide an uninitalized element, as above. (Allocate): Remove unused version. From-SVN: r207945
Diffstat (limited to 'gcc/ada/a-chtgke.adb')
-rw-r--r--gcc/ada/a-chtgke.adb4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ada/a-chtgke.adb b/gcc/ada/a-chtgke.adb
index e4de771..df7821d 100644
--- a/gcc/ada/a-chtgke.adb
+++ b/gcc/ada/a-chtgke.adb
@@ -53,6 +53,7 @@ package body Ada.Containers.Hash_Tables.Generic_Keys is
L := L - 1;
return Result;
+
exception
when others =>
B := B - 1;
@@ -84,6 +85,7 @@ package body Ada.Containers.Hash_Tables.Generic_Keys is
L := L - 1;
return Result;
+
exception
when others =>
B := B - 1;
@@ -269,6 +271,7 @@ package body Ada.Containers.Hash_Tables.Generic_Keys is
declare
B : Natural renames HT.Busy;
L : Natural renames HT.Lock;
+
begin
B := B + 1;
L := L + 1;
@@ -277,6 +280,7 @@ package body Ada.Containers.Hash_Tables.Generic_Keys is
B := B - 1;
L := L - 1;
+
exception
when others =>
B := B - 1;