summaryrefslogtreecommitdiff
path: root/gcc/ada/a-convec.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-17 16:08:48 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-17 16:08:48 +0000
commitfe2a35e06d88ed2e4ca7b2bd226879f0e61b19f8 (patch)
treee3840316266dbd9e7ac56d6ad9624ab50cdb8b7a /gcc/ada/a-convec.ads
parent3e8aa64033c2bdec68b43ec5e58acb2cb9688be0 (diff)
downloadgcc-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-convec.ads')
-rw-r--r--gcc/ada/a-convec.ads8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/a-convec.ads b/gcc/ada/a-convec.ads
index 5b268b5e3f0..4fa0281d41c 100644
--- a/gcc/ada/a-convec.ads
+++ b/gcc/ada/a-convec.ads
@@ -332,13 +332,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;
@@ -354,13 +354,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;