summaryrefslogtreecommitdiff
path: root/gcc/ada/a-cdlili.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-06 10:52:10 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-06 10:52:10 +0000
commit115a8ff95a7b32496cbaf73f390aaaa335b5501e (patch)
treeec2589c089bd5167e50d6fc2c0cc266528d224cd /gcc/ada/a-cdlili.ads
parentdb7cbfa9cce1d6b590c950ba242311b0aac65e34 (diff)
downloadgcc-115a8ff95a7b32496cbaf73f390aaaa335b5501e.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125477 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/a-cdlili.ads')
-rw-r--r--gcc/ada/a-cdlili.ads4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/a-cdlili.ads b/gcc/ada/a-cdlili.ads
index c5d81f78532..06603cb0541 100644
--- a/gcc/ada/a-cdlili.ads
+++ b/gcc/ada/a-cdlili.ads
@@ -243,8 +243,6 @@ private
for List'Write use Write;
- Empty_List : constant List := (Controlled with null, null, 0, 0, 0);
-
type List_Access is access constant List;
for List_Access'Storage_Size use 0;
@@ -266,6 +264,8 @@ private
for Cursor'Write use Write;
+ Empty_List : constant List := (Controlled with null, null, 0, 0, 0);
+
No_Element : constant Cursor := Cursor'(null, null);
end Ada.Containers.Doubly_Linked_Lists;