X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fada%2Fa-coormu.ads;h=bdb2150e014c6e9fa66b31be3f2b65c156908117;hb=5f6832932ed0051ba8b9233b9ca408d5a3ff43bd;hp=7e53d1ca7a7a052ba7b8f30dfdb209e6e4ad63b1;hpb=a6588f4f32ec59846a4d5ae481510e01bd4604ff;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/ada/a-coormu.ads b/gcc/ada/a-coormu.ads index 7e53d1ca7a7..bdb2150e014 100644 --- a/gcc/ada/a-coormu.ads +++ b/gcc/ada/a-coormu.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 2004-2006, Free Software Foundation, Inc. -- +-- Copyright (C) 2004-2007, Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- @@ -45,12 +45,15 @@ generic package Ada.Containers.Ordered_Multisets is pragma Preelaborate; + pragma Remote_Types; function Equivalent_Elements (Left, Right : Element_Type) return Boolean; type Set is tagged private; + pragma Preelaborable_Initialization (Set); type Cursor is private; + pragma Preelaborable_Initialization (Cursor); Empty_Set : constant Set; @@ -243,6 +246,9 @@ package Ada.Containers.Ordered_Multisets is private + pragma Inline (Next); + pragma Inline (Previous); + type Node_Type; type Node_Access is access Node_Type; @@ -280,13 +286,13 @@ private end record; procedure Write - (Stream : access Root_Stream_Type'Class; + (Stream : not null access Root_Stream_Type'Class; Item : Cursor); for Cursor'Write use Write; procedure Read - (Stream : access Root_Stream_Type'Class; + (Stream : not null access Root_Stream_Type'Class; Item : out Cursor); for Cursor'Read use Read; @@ -294,13 +300,13 @@ private No_Element : constant Cursor := Cursor'(null, null); procedure Write - (Stream : access Root_Stream_Type'Class; + (Stream : not null access Root_Stream_Type'Class; Container : Set); for Set'Write use Write; procedure Read - (Stream : access Root_Stream_Type'Class; + (Stream : not null access Root_Stream_Type'Class; Container : out Set); for Set'Read use Read;