diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-17 16:08:48 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-17 16:08:48 +0000 |
commit | fe2a35e06d88ed2e4ca7b2bd226879f0e61b19f8 (patch) | |
tree | e3840316266dbd9e7ac56d6ad9624ab50cdb8b7a /gcc/ada/a-coinve.ads | |
parent | 3e8aa64033c2bdec68b43ec5e58acb2cb9688be0 (diff) | |
download | gcc-fe2a35e06d88ed2e4ca7b2bd226879f0e61b19f8.tar.gz |
2006-02-17 Matthew Heaney <heaney@adacore.com>
* a-convec.ads, a-convec.adb:
(operator "&"): handle potential overflow for large index types
(Insert): removed Contraint_Error when using large index types
(Insert_Space): removed Constraint_Error for large index types
(Length): moved constraint check from Length to Insert
* a-coinve.ads, a-coinve.adb: Stream attribute procedures are declared
as not null access.
Explicit raise statements now include an exception message.
(operator "&"): handle potential overflow for large index types
(Insert): removed Contraint_Error when using large index types
(Insert_Space): removed Constraint_Error for large index types
(Length): moved constraint check from Length to Insert
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111197 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/a-coinve.ads')
-rw-r--r-- | gcc/ada/a-coinve.ads | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/a-coinve.ads b/gcc/ada/a-coinve.ads index 822e797f04a..e5587f14625 100644 --- a/gcc/ada/a-coinve.ads +++ b/gcc/ada/a-coinve.ads @@ -324,13 +324,13 @@ private use Ada.Streams; procedure Write - (Stream : access Root_Stream_Type'Class; + (Stream : not null access Root_Stream_Type'Class; Container : Vector); for Vector'Write use Write; procedure Read - (Stream : access Root_Stream_Type'Class; + (Stream : not null access Root_Stream_Type'Class; Container : out Vector); for Vector'Read use Read; @@ -346,13 +346,13 @@ private end record; procedure Write - (Stream : access Root_Stream_Type'Class; + (Stream : not null access Root_Stream_Type'Class; Position : Cursor); for Cursor'Write use Write; procedure Read - (Stream : access Root_Stream_Type'Class; + (Stream : not null access Root_Stream_Type'Class; Position : out Cursor); for Cursor'Read use Read; |