diff options
author | Javier Miranda <miranda@adacore.com> | 2007-06-06 12:52:10 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2007-06-06 12:52:10 +0200 |
commit | 7d2e68b351a9a69a273fc2a7f38893a23c8c6358 (patch) | |
tree | ec2589c089bd5167e50d6fc2c0cc266528d224cd /gcc/ada/a-convec.ads | |
parent | d579fabd9e9ee326dd532c990f59eed385a74dbf (diff) | |
download | gcc-7d2e68b351a9a69a273fc2a7f38893a23c8c6358.zip gcc-7d2e68b351a9a69a273fc2a7f38893a23c8c6358.tar.gz gcc-7d2e68b351a9a69a273fc2a7f38893a23c8c6358.tar.bz2 |
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-convec.ads')
-rw-r--r-- | gcc/ada/a-convec.ads | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/a-convec.ads b/gcc/ada/a-convec.ads index bceea17..dbb3cc4 100644 --- a/gcc/ada/a-convec.ads +++ b/gcc/ada/a-convec.ads @@ -345,8 +345,6 @@ private for Vector'Read use Read; - Empty_Vector : constant Vector := (Controlled with null, No_Index, 0, 0); - type Vector_Access is access constant Vector; for Vector_Access'Storage_Size use 0; @@ -367,6 +365,8 @@ private for Cursor'Read use Read; + Empty_Vector : constant Vector := (Controlled with null, No_Index, 0, 0); + No_Element : constant Cursor := Cursor'(null, Index_Type'First); end Ada.Containers.Vectors; |