summaryrefslogtreecommitdiff
path: root/gcc/ada/a-cohama.ads
diff options
context:
space:
mode:
authorJavier Miranda <miranda@adacore.com>2007-06-06 12:52:10 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2007-06-06 12:52:10 +0200
commit7d2e68b351a9a69a273fc2a7f38893a23c8c6358 (patch)
treeec2589c089bd5167e50d6fc2c0cc266528d224cd /gcc/ada/a-cohama.ads
parentd579fabd9e9ee326dd532c990f59eed385a74dbf (diff)
downloadgcc-7d2e68b351a9a69a273fc2a7f38893a23c8c6358.tar.gz
a-cidlli.ads, [...] (Empty_Vector, [...]): Move this object declaration after freezing point of all its associated tagged...
2007-04-20 Javier Miranda <miranda@adacore.com> * a-cidlli.ads, a-cdlili.ads, a-cohama.ads, a-coinve.ads, a-convec.ads (Empty_Vector, Empty_Map, Empty_List): Move this object declaration after freezing point of all its associated tagged types; otherwise such types are frozen too early. From-SVN: r125477
Diffstat (limited to 'gcc/ada/a-cohama.ads')
-rw-r--r--gcc/ada/a-cohama.ads4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/a-cohama.ads b/gcc/ada/a-cohama.ads
index a0bbad4e955..d03d741a74b 100644
--- a/gcc/ada/a-cohama.ads
+++ b/gcc/ada/a-cohama.ads
@@ -203,8 +203,6 @@ private
for Map'Read use Read;
- Empty_Map : constant Map := (Controlled with HT => (null, 0, 0, 0));
-
type Map_Access is access constant Map;
for Map_Access'Storage_Size use 0;
@@ -226,6 +224,8 @@ private
for Cursor'Write use Write;
+ Empty_Map : constant Map := (Controlled with HT => (null, 0, 0, 0));
+
No_Element : constant Cursor := (Container => null, Node => null);
end Ada.Containers.Hashed_Maps;