diff options
Diffstat (limited to 'gcc/ada/gnat_rm.texi')
-rw-r--r-- | gcc/ada/gnat_rm.texi | 5205 |
1 files changed, 3262 insertions, 1943 deletions
diff --git a/gcc/ada/gnat_rm.texi b/gcc/ada/gnat_rm.texi index 97469d7..f45ea7c 100644 --- a/gcc/ada/gnat_rm.texi +++ b/gcc/ada/gnat_rm.texi @@ -3,7 +3,7 @@ @setfilename gnat_rm.info @documentencoding UTF-8 @ifinfo -@*Generated by Sphinx 8.0.2.@* +@*Generated by Sphinx 8.2.3.@* @end ifinfo @settitle GNAT Reference Manual @defindex ge @@ -19,7 +19,7 @@ @copying @quotation -GNAT Reference Manual , Jan 03, 2025 +GNAT Reference Manual , Jun 27, 2025 AdaCore @@ -76,7 +76,7 @@ included in the section entitled @ref{1,,GNU Free Documentation License}. * Interfacing to Other Languages:: * Specialized Needs Annexes:: * Implementation of Specific Ada Features:: -* Implementation of Ada 2012 Features:: +* Implementation of Ada 2022 Features:: * GNAT language extensions:: * Security Hardening Features:: * Obsolescent Features:: @@ -238,6 +238,7 @@ Implementation Defined Pragmas * Pragma Priority_Specific_Dispatching:: * Pragma Profile:: * Pragma Profile_Warnings:: +* Pragma Program_Exit:: * Pragma Propagate_Exceptions:: * Pragma Provide_Shift_Operators:: * Pragma Psect_Object:: @@ -348,6 +349,7 @@ Implementation Defined Aspects * Aspect Part_Of:: * Aspect Persistent_BSS:: * Aspect Predicate:: +* Aspect Program_Exit:: * Aspect Pure_Function:: * Aspect Refined_Depends:: * Aspect Refined_Global:: @@ -916,6 +918,7 @@ Deep delta Aggregates Experimental Language Extensions * Conditional when constructs:: +* Implicit With:: * Storage Model:: * Attribute Super:: * Simpler Accessibility Model:: @@ -926,6 +929,7 @@ Experimental Language Extensions * Inference of Dependent Types in Generic Instantiations:: * External_Initialization Aspect:: * Finally construct:: +* Continue statement:: Storage Model @@ -939,10 +943,9 @@ Simpler Accessibility Model * Subprogram parameters:: * Function results:: -No_Raise aspect +Generalized Finalization -* New specification for Ada.Finalization.Controlled: New specification for Ada Finalization Controlled. -* Finalized tagged types:: +* Finalizable tagged types:: * Composite types:: * Interoperability with controlled types:: @@ -1007,7 +1010,7 @@ GNAT compiler. It includes information on implementation dependent characteristics of GNAT, including all the information required by Annex M of the Ada language standard. -GNAT implements Ada 95, Ada 2005 and Ada 2012, and it may also be +GNAT implements Ada 95, Ada 2005, Ada 2012 and Ada 2022, and it may also be invoked in Ada 83 compatibility mode. By default, GNAT assumes Ada 2012, but you can override with a compiler switch @@ -1112,8 +1115,8 @@ to GNAT’s implementation of machine code insertions, tasking, and several other features. @item -@ref{14,,Implementation of Ada 2012 Features}, describes the status of the -GNAT implementation of the Ada 2012 language standard. +@ref{14,,Implementation of Ada 2022 Features}, describes the status of the +GNAT implementation of the Ada 2022 language standard. @item @ref{15,,Security Hardening Features} documents GNAT extensions aimed @@ -1405,6 +1408,7 @@ consideration, the use of these pragmas should be minimized. * Pragma Priority_Specific_Dispatching:: * Pragma Profile:: * Pragma Profile_Warnings:: +* Pragma Program_Exit:: * Pragma Propagate_Exceptions:: * Pragma Provide_Shift_Operators:: * Pragma Psect_Object:: @@ -1577,6 +1581,11 @@ and generics may name types with unknown discriminants without using the @code{(<>)} notation. In addition, some but not all of the additional restrictions of Ada 83 are enforced. +Like all configuration pragmas, if the pragma is placed before a library +level package specification it is not propagated to the corresponding +package body (see RM 10.1.5(8)); it must be added explicitly to the +package body. + Ada 83 mode is intended for two purposes. Firstly, it allows existing Ada 83 code to be compiled and adapted to GNAT with less effort. Secondly, it aids in keeping code backwards compatible with Ada 83. @@ -1604,6 +1613,11 @@ contexts. This pragma is useful when writing a reusable component that itself uses Ada 95 features, but which is intended to be usable from either Ada 83 or Ada 95 programs. +Like all configuration pragmas, if the pragma is placed before a library +level package specification it is not propagated to the corresponding +package body (see RM 10.1.5(8)); it must be added explicitly to the +package body. + @node Pragma Ada_05,Pragma Ada_2005,Pragma Ada_95,Implementation Defined Pragmas @anchor{gnat_rm/implementation_defined_pragmas pragma-ada-05}@anchor{21} @section Pragma Ada_05 @@ -1622,6 +1636,11 @@ This pragma is useful when writing a reusable component that itself uses Ada 2005 features, but which is intended to be usable from either Ada 83 or Ada 95 programs. +Like all configuration pragmas, if the pragma is placed before a library +level package specification it is not propagated to the corresponding +package body (see RM 10.1.5(8)); it must be added explicitly to the +package body. + The one argument form (which is not a configuration pragma) is used for managing the transition from Ada 95 to Ada 2005 in the run-time library. If an entity is marked @@ -1667,6 +1686,11 @@ contexts. This pragma is useful when writing a reusable component that itself uses Ada 2012 features, but which is intended to be usable from Ada 83, Ada 95, or Ada 2005 programs. +Like all configuration pragmas, if the pragma is placed before a library +level package specification it is not propagated to the corresponding +package body (see RM 10.1.5(8)); it must be added explicitly to the +package body. + The one argument form, which is not a configuration pragma, is used for managing the transition from Ada 2005 to Ada 2012 in the run-time library. If an entity is marked @@ -1712,6 +1736,11 @@ contexts. This pragma is useful when writing a reusable component that itself uses Ada 2022 features, but which is intended to be usable from Ada 83, Ada 95, Ada 2005 or Ada 2012 programs. +Like all configuration pragmas, if the pragma is placed before a library +level package specification it is not propagated to the corresponding +package body (see RM 10.1.5(8)); it must be added explicitly to the +package body. + The one argument form, which is not a configuration pragma, is used for managing the transition from Ada 2012 to Ada 2022 in the run-time library. If an entity is marked @@ -3470,6 +3499,7 @@ EXIT_CASE ::= GUARD => EXIT_KIND EXIT_KIND ::= Normal_Return | Exception_Raised | (Exception_Raised => exception_name) + | Program_Exit GUARD ::= Boolean_expression @end example @@ -4682,8 +4712,8 @@ pragma Interrupt_State Normally certain interrupts are reserved to the implementation. Any attempt to attach an interrupt causes Program_Error to be raised, as described in RM C.3.2(22). A typical example is the @code{SIGINT} interrupt used in -many systems for an @code{Ctrl-C} interrupt. Normally this interrupt is -reserved to the implementation, so that @code{Ctrl-C} can be used to +many systems for an @code{Ctrl}-@code{C} interrupt. Normally this interrupt is +reserved to the implementation, so that @code{Ctrl}-@code{C} can be used to interrupt execution. Additionally, signals such as @code{SIGSEGV}, @code{SIGABRT}, @code{SIGFPE} and @code{SIGILL} are often mapped to specific Ada exceptions, or used to implement run-time functions such as the @@ -6912,7 +6942,7 @@ conforming Ada constructs. The profile enables the following three pragmas: @end itemize @end itemize -@node Pragma Profile_Warnings,Pragma Propagate_Exceptions,Pragma Profile,Implementation Defined Pragmas +@node Pragma Profile_Warnings,Pragma Program_Exit,Pragma Profile,Implementation Defined Pragmas @anchor{gnat_rm/implementation_defined_pragmas pragma-profile-warnings}@anchor{ce} @section Pragma Profile_Warnings @@ -6930,8 +6960,22 @@ generating @code{Restrictions} pragmas, it generates violations of the profile generate warning messages instead of error messages. -@node Pragma Propagate_Exceptions,Pragma Provide_Shift_Operators,Pragma Profile_Warnings,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-propagate-exceptions}@anchor{cf} +@node Pragma Program_Exit,Pragma Propagate_Exceptions,Pragma Profile_Warnings,Implementation Defined Pragmas +@anchor{gnat_rm/implementation_defined_pragmas id34}@anchor{cf}@anchor{gnat_rm/implementation_defined_pragmas pragma-program-exit}@anchor{d0} +@section Pragma Program_Exit + + +Syntax: + +@example +pragma Program_Exit [ (boolean_EXPRESSION) ]; +@end example + +For the semantics of this pragma, see the entry for aspect @code{Program_Exit} +in the SPARK 2014 Reference Manual, section 6.1.10. + +@node Pragma Propagate_Exceptions,Pragma Provide_Shift_Operators,Pragma Program_Exit,Implementation Defined Pragmas +@anchor{gnat_rm/implementation_defined_pragmas pragma-propagate-exceptions}@anchor{d1} @section Pragma Propagate_Exceptions @@ -6950,7 +6994,7 @@ purposes. It used to be used in connection with optimization of a now-obsolete mechanism for implementation of exceptions. @node Pragma Provide_Shift_Operators,Pragma Psect_Object,Pragma Propagate_Exceptions,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-provide-shift-operators}@anchor{d0} +@anchor{gnat_rm/implementation_defined_pragmas pragma-provide-shift-operators}@anchor{d2} @section Pragma Provide_Shift_Operators @@ -6970,7 +7014,7 @@ including the function declarations for these five operators, together with the pragma Import (Intrinsic, …) statements. @node Pragma Psect_Object,Pragma Pure_Function,Pragma Provide_Shift_Operators,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-psect-object}@anchor{d1} +@anchor{gnat_rm/implementation_defined_pragmas pragma-psect-object}@anchor{d3} @section Pragma Psect_Object @@ -6990,7 +7034,7 @@ EXTERNAL_SYMBOL ::= This pragma is identical in effect to pragma @code{Common_Object}. @node Pragma Pure_Function,Pragma Rational,Pragma Psect_Object,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id34}@anchor{d2}@anchor{gnat_rm/implementation_defined_pragmas pragma-pure-function}@anchor{d3} +@anchor{gnat_rm/implementation_defined_pragmas id35}@anchor{d4}@anchor{gnat_rm/implementation_defined_pragmas pragma-pure-function}@anchor{d5} @section Pragma Pure_Function @@ -7052,7 +7096,7 @@ unit is not a Pure unit in the categorization sense. So for example, a function thus marked is free to @code{with} non-pure units. @node Pragma Rational,Pragma Ravenscar,Pragma Pure_Function,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-rational}@anchor{d4} +@anchor{gnat_rm/implementation_defined_pragmas pragma-rational}@anchor{d6} @section Pragma Rational @@ -7070,7 +7114,7 @@ pragma Profile (Rational); @end example @node Pragma Ravenscar,Pragma Refined_Depends,Pragma Rational,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-ravenscar}@anchor{d5} +@anchor{gnat_rm/implementation_defined_pragmas pragma-ravenscar}@anchor{d7} @section Pragma Ravenscar @@ -7090,7 +7134,7 @@ pragma Profile (Ravenscar); which is the preferred method of setting the @code{Ravenscar} profile. @node Pragma Refined_Depends,Pragma Refined_Global,Pragma Ravenscar,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id35}@anchor{d6}@anchor{gnat_rm/implementation_defined_pragmas pragma-refined-depends}@anchor{d7} +@anchor{gnat_rm/implementation_defined_pragmas id36}@anchor{d8}@anchor{gnat_rm/implementation_defined_pragmas pragma-refined-depends}@anchor{d9} @section Pragma Refined_Depends @@ -7123,7 +7167,7 @@ For the semantics of this pragma, see the entry for aspect @code{Refined_Depends the SPARK 2014 Reference Manual, section 6.1.5. @node Pragma Refined_Global,Pragma Refined_Post,Pragma Refined_Depends,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id36}@anchor{d8}@anchor{gnat_rm/implementation_defined_pragmas pragma-refined-global}@anchor{d9} +@anchor{gnat_rm/implementation_defined_pragmas id37}@anchor{da}@anchor{gnat_rm/implementation_defined_pragmas pragma-refined-global}@anchor{db} @section Pragma Refined_Global @@ -7148,7 +7192,7 @@ For the semantics of this pragma, see the entry for aspect @code{Refined_Global} the SPARK 2014 Reference Manual, section 6.1.4. @node Pragma Refined_Post,Pragma Refined_State,Pragma Refined_Global,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id37}@anchor{da}@anchor{gnat_rm/implementation_defined_pragmas pragma-refined-post}@anchor{db} +@anchor{gnat_rm/implementation_defined_pragmas id38}@anchor{dc}@anchor{gnat_rm/implementation_defined_pragmas pragma-refined-post}@anchor{dd} @section Pragma Refined_Post @@ -7162,7 +7206,7 @@ For the semantics of this pragma, see the entry for aspect @code{Refined_Post} i the SPARK 2014 Reference Manual, section 7.2.7. @node Pragma Refined_State,Pragma Relative_Deadline,Pragma Refined_Post,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id38}@anchor{dc}@anchor{gnat_rm/implementation_defined_pragmas pragma-refined-state}@anchor{dd} +@anchor{gnat_rm/implementation_defined_pragmas id39}@anchor{de}@anchor{gnat_rm/implementation_defined_pragmas pragma-refined-state}@anchor{df} @section Pragma Refined_State @@ -7188,7 +7232,7 @@ For the semantics of this pragma, see the entry for aspect @code{Refined_State} the SPARK 2014 Reference Manual, section 7.2.2. @node Pragma Relative_Deadline,Pragma Remote_Access_Type,Pragma Refined_State,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-relative-deadline}@anchor{de} +@anchor{gnat_rm/implementation_defined_pragmas pragma-relative-deadline}@anchor{e0} @section Pragma Relative_Deadline @@ -7203,7 +7247,7 @@ versions of Ada as an implementation-defined pragma. See Ada 2012 Reference Manual for details. @node Pragma Remote_Access_Type,Pragma Rename_Pragma,Pragma Relative_Deadline,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id39}@anchor{df}@anchor{gnat_rm/implementation_defined_pragmas pragma-remote-access-type}@anchor{e0} +@anchor{gnat_rm/implementation_defined_pragmas id40}@anchor{e1}@anchor{gnat_rm/implementation_defined_pragmas pragma-remote-access-type}@anchor{e2} @section Pragma Remote_Access_Type @@ -7229,7 +7273,7 @@ pertaining to remote access to class-wide types. At instantiation, the actual type must be a remote access to class-wide type. @node Pragma Rename_Pragma,Pragma Restricted_Run_Time,Pragma Remote_Access_Type,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-rename-pragma}@anchor{e1} +@anchor{gnat_rm/implementation_defined_pragmas pragma-rename-pragma}@anchor{e3} @section Pragma Rename_Pragma @@ -7268,7 +7312,7 @@ Pragma Inline_Only will not necessarily mean the same thing as the other Ada compiler; it’s up to you to make sure the semantics are close enough. @node Pragma Restricted_Run_Time,Pragma Restriction_Warnings,Pragma Rename_Pragma,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-restricted-run-time}@anchor{e2} +@anchor{gnat_rm/implementation_defined_pragmas pragma-restricted-run-time}@anchor{e4} @section Pragma Restricted_Run_Time @@ -7289,7 +7333,7 @@ which is the preferred method of setting the restricted run time profile. @node Pragma Restriction_Warnings,Pragma Reviewable,Pragma Restricted_Run_Time,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-restriction-warnings}@anchor{e3} +@anchor{gnat_rm/implementation_defined_pragmas pragma-restriction-warnings}@anchor{e5} @section Pragma Restriction_Warnings @@ -7327,7 +7371,7 @@ generating a warning, but any other use of implementation defined pragmas will cause a warning to be generated. @node Pragma Reviewable,Pragma Secondary_Stack_Size,Pragma Restriction_Warnings,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-reviewable}@anchor{e4} +@anchor{gnat_rm/implementation_defined_pragmas pragma-reviewable}@anchor{e6} @section Pragma Reviewable @@ -7431,7 +7475,7 @@ comprehensive messages identifying possible problems based on this information. @node Pragma Secondary_Stack_Size,Pragma Share_Generic,Pragma Reviewable,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id40}@anchor{e5}@anchor{gnat_rm/implementation_defined_pragmas pragma-secondary-stack-size}@anchor{e6} +@anchor{gnat_rm/implementation_defined_pragmas id41}@anchor{e7}@anchor{gnat_rm/implementation_defined_pragmas pragma-secondary-stack-size}@anchor{e8} @section Pragma Secondary_Stack_Size @@ -7467,7 +7511,7 @@ Note the pragma cannot appear when the restriction @code{No_Secondary_Stack} is in effect. @node Pragma Share_Generic,Pragma Shared,Pragma Secondary_Stack_Size,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-share-generic}@anchor{e7} +@anchor{gnat_rm/implementation_defined_pragmas pragma-share-generic}@anchor{e9} @section Pragma Share_Generic @@ -7485,7 +7529,7 @@ than to check that the given names are all names of generic units or generic instances. @node Pragma Shared,Pragma Short_Circuit_And_Or,Pragma Share_Generic,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id41}@anchor{e8}@anchor{gnat_rm/implementation_defined_pragmas pragma-shared}@anchor{e9} +@anchor{gnat_rm/implementation_defined_pragmas id42}@anchor{ea}@anchor{gnat_rm/implementation_defined_pragmas pragma-shared}@anchor{eb} @section Pragma Shared @@ -7493,7 +7537,7 @@ This pragma is provided for compatibility with Ada 83. The syntax and semantics are identical to pragma Atomic. @node Pragma Short_Circuit_And_Or,Pragma Short_Descriptors,Pragma Shared,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-short-circuit-and-or}@anchor{ea} +@anchor{gnat_rm/implementation_defined_pragmas pragma-short-circuit-and-or}@anchor{ec} @section Pragma Short_Circuit_And_Or @@ -7512,7 +7556,7 @@ within the file being compiled, it applies only to the file being compiled. There is no requirement that all units in a partition use this option. @node Pragma Short_Descriptors,Pragma Side_Effects,Pragma Short_Circuit_And_Or,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-short-descriptors}@anchor{eb} +@anchor{gnat_rm/implementation_defined_pragmas pragma-short-descriptors}@anchor{ed} @section Pragma Short_Descriptors @@ -7526,7 +7570,7 @@ This pragma is provided for compatibility with other Ada implementations. It is recognized but ignored by all current versions of GNAT. @node Pragma Side_Effects,Pragma Simple_Storage_Pool_Type,Pragma Short_Descriptors,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id42}@anchor{ec}@anchor{gnat_rm/implementation_defined_pragmas pragma-side-effects}@anchor{ed} +@anchor{gnat_rm/implementation_defined_pragmas id43}@anchor{ee}@anchor{gnat_rm/implementation_defined_pragmas pragma-side-effects}@anchor{ef} @section Pragma Side_Effects @@ -7540,7 +7584,7 @@ For the semantics of this pragma, see the entry for aspect @code{Side_Effects} in the SPARK Reference Manual, section 6.1.12. @node Pragma Simple_Storage_Pool_Type,Pragma Source_File_Name,Pragma Side_Effects,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id43}@anchor{ee}@anchor{gnat_rm/implementation_defined_pragmas pragma-simple-storage-pool-type}@anchor{ef} +@anchor{gnat_rm/implementation_defined_pragmas id44}@anchor{f0}@anchor{gnat_rm/implementation_defined_pragmas pragma-simple-storage-pool-type}@anchor{f1} @section Pragma Simple_Storage_Pool_Type @@ -7594,7 +7638,7 @@ storage-management discipline). An object of a simple storage pool type can be associated with an access type by specifying the attribute -@ref{f0,,Simple_Storage_Pool}. For example: +@ref{f2,,Simple_Storage_Pool}. For example: @example My_Pool : My_Simple_Storage_Pool_Type; @@ -7604,11 +7648,11 @@ type Acc is access My_Data_Type; for Acc'Simple_Storage_Pool use My_Pool; @end example -See attribute @ref{f0,,Simple_Storage_Pool} +See attribute @ref{f2,,Simple_Storage_Pool} for further details. @node Pragma Source_File_Name,Pragma Source_File_Name_Project,Pragma Simple_Storage_Pool_Type,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id44}@anchor{f1}@anchor{gnat_rm/implementation_defined_pragmas pragma-source-file-name}@anchor{f2} +@anchor{gnat_rm/implementation_defined_pragmas id45}@anchor{f3}@anchor{gnat_rm/implementation_defined_pragmas pragma-source-file-name}@anchor{f4} @section Pragma Source_File_Name @@ -7700,20 +7744,20 @@ aware of these pragmas, and so other tools that use the project file would not be aware of the intended naming conventions. If you are using project files, file naming is controlled by Source_File_Name_Project pragmas, which are usually supplied automatically by the project manager. A pragma -Source_File_Name cannot appear after a @ref{f3,,Pragma Source_File_Name_Project}. +Source_File_Name cannot appear after a @ref{f5,,Pragma Source_File_Name_Project}. For more details on the use of the @code{Source_File_Name} pragma, see the sections on @cite{Using Other File Names} and @cite{Alternative File Naming Schemes} in the @cite{GNAT User’s Guide}. @node Pragma Source_File_Name_Project,Pragma Source_Reference,Pragma Source_File_Name,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id45}@anchor{f4}@anchor{gnat_rm/implementation_defined_pragmas pragma-source-file-name-project}@anchor{f3} +@anchor{gnat_rm/implementation_defined_pragmas id46}@anchor{f6}@anchor{gnat_rm/implementation_defined_pragmas pragma-source-file-name-project}@anchor{f5} @section Pragma Source_File_Name_Project This pragma has the same syntax and semantics as pragma Source_File_Name. It is only allowed as a stand-alone configuration pragma. -It cannot appear after a @ref{f2,,Pragma Source_File_Name}, and +It cannot appear after a @ref{f4,,Pragma Source_File_Name}, and most importantly, once pragma Source_File_Name_Project appears, no further Source_File_Name pragmas are allowed. @@ -7725,7 +7769,7 @@ Source_File_Name or Source_File_Name_Project pragmas (which would not be known to the project manager). @node Pragma Source_Reference,Pragma SPARK_Mode,Pragma Source_File_Name_Project,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-source-reference}@anchor{f5} +@anchor{gnat_rm/implementation_defined_pragmas pragma-source-reference}@anchor{f7} @section Pragma Source_Reference @@ -7749,7 +7793,7 @@ string expression other than a string literal. This is because its value is needed for error messages issued by all phases of the compiler. @node Pragma SPARK_Mode,Pragma Static_Elaboration_Desired,Pragma Source_Reference,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id46}@anchor{f6}@anchor{gnat_rm/implementation_defined_pragmas pragma-spark-mode}@anchor{f7} +@anchor{gnat_rm/implementation_defined_pragmas id47}@anchor{f8}@anchor{gnat_rm/implementation_defined_pragmas pragma-spark-mode}@anchor{f9} @section Pragma SPARK_Mode @@ -7831,7 +7875,7 @@ SPARK_Mode (@code{Off}), then that pragma will need to be repeated in the package body. @node Pragma Static_Elaboration_Desired,Pragma Stream_Convert,Pragma SPARK_Mode,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-static-elaboration-desired}@anchor{f8} +@anchor{gnat_rm/implementation_defined_pragmas pragma-static-elaboration-desired}@anchor{fa} @section Pragma Static_Elaboration_Desired @@ -7855,7 +7899,7 @@ construction of larger aggregates with static components that include an others choice.) @node Pragma Stream_Convert,Pragma Style_Checks,Pragma Static_Elaboration_Desired,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-stream-convert}@anchor{f9} +@anchor{gnat_rm/implementation_defined_pragmas pragma-stream-convert}@anchor{fb} @section Pragma Stream_Convert @@ -7932,7 +7976,7 @@ the pragma is silently ignored, and the default implementation of the stream attributes is used instead. @node Pragma Style_Checks,Pragma Subprogram_Variant,Pragma Stream_Convert,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-style-checks}@anchor{fa} +@anchor{gnat_rm/implementation_defined_pragmas pragma-style-checks}@anchor{fc} @section Pragma Style_Checks @@ -8078,7 +8122,7 @@ Rf2 : Integer := ARG; -- OK, no error @end example @node Pragma Subprogram_Variant,Pragma Subtitle,Pragma Style_Checks,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-subprogram-variant}@anchor{fb} +@anchor{gnat_rm/implementation_defined_pragmas pragma-subprogram-variant}@anchor{fd} @section Pragma Subprogram_Variant @@ -8110,7 +8154,7 @@ the implementation-defined @code{Subprogram_Variant} aspect, and shares its restrictions and semantics. @node Pragma Subtitle,Pragma Suppress,Pragma Subprogram_Variant,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-subtitle}@anchor{fc} +@anchor{gnat_rm/implementation_defined_pragmas pragma-subtitle}@anchor{fe} @section Pragma Subtitle @@ -8124,7 +8168,7 @@ This pragma is recognized for compatibility with other Ada compilers but is ignored by GNAT. @node Pragma Suppress,Pragma Suppress_All,Pragma Subtitle,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-suppress}@anchor{fd} +@anchor{gnat_rm/implementation_defined_pragmas pragma-suppress}@anchor{ff} @section Pragma Suppress @@ -8197,7 +8241,7 @@ Of course, run-time checks are omitted whenever the compiler can prove that they will not fail, whether or not checks are suppressed. @node Pragma Suppress_All,Pragma Suppress_Debug_Info,Pragma Suppress,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-suppress-all}@anchor{fe} +@anchor{gnat_rm/implementation_defined_pragmas pragma-suppress-all}@anchor{100} @section Pragma Suppress_All @@ -8216,7 +8260,7 @@ The use of the standard Ada pragma @code{Suppress (All_Checks)} as a normal configuration pragma is the preferred usage in GNAT. @node Pragma Suppress_Debug_Info,Pragma Suppress_Exception_Locations,Pragma Suppress_All,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id47}@anchor{ff}@anchor{gnat_rm/implementation_defined_pragmas pragma-suppress-debug-info}@anchor{100} +@anchor{gnat_rm/implementation_defined_pragmas id48}@anchor{101}@anchor{gnat_rm/implementation_defined_pragmas pragma-suppress-debug-info}@anchor{102} @section Pragma Suppress_Debug_Info @@ -8231,7 +8275,7 @@ for the specified entity. It is intended primarily for use in debugging the debugger, and navigating around debugger problems. @node Pragma Suppress_Exception_Locations,Pragma Suppress_Initialization,Pragma Suppress_Debug_Info,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-suppress-exception-locations}@anchor{101} +@anchor{gnat_rm/implementation_defined_pragmas pragma-suppress-exception-locations}@anchor{103} @section Pragma Suppress_Exception_Locations @@ -8254,7 +8298,7 @@ a partition, so it is fine to have some units within a partition compiled with this pragma and others compiled in normal mode without it. @node Pragma Suppress_Initialization,Pragma Task_Name,Pragma Suppress_Exception_Locations,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id48}@anchor{102}@anchor{gnat_rm/implementation_defined_pragmas pragma-suppress-initialization}@anchor{103} +@anchor{gnat_rm/implementation_defined_pragmas id49}@anchor{104}@anchor{gnat_rm/implementation_defined_pragmas pragma-suppress-initialization}@anchor{105} @section Pragma Suppress_Initialization @@ -8299,7 +8343,7 @@ is suppressed, just as though its subtype had been given in a pragma Suppress_Initialization, as described above. @node Pragma Task_Name,Pragma Task_Storage,Pragma Suppress_Initialization,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-task-name}@anchor{104} +@anchor{gnat_rm/implementation_defined_pragmas pragma-task-name}@anchor{106} @section Pragma Task_Name @@ -8355,7 +8399,7 @@ end; @end example @node Pragma Task_Storage,Pragma Test_Case,Pragma Task_Name,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-task-storage}@anchor{105} +@anchor{gnat_rm/implementation_defined_pragmas pragma-task-storage}@anchor{107} @section Pragma Task_Storage @@ -8375,7 +8419,7 @@ created, depending on the target. This pragma can appear anywhere a type. @node Pragma Test_Case,Pragma Thread_Local_Storage,Pragma Task_Storage,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id49}@anchor{106}@anchor{gnat_rm/implementation_defined_pragmas pragma-test-case}@anchor{107} +@anchor{gnat_rm/implementation_defined_pragmas id50}@anchor{108}@anchor{gnat_rm/implementation_defined_pragmas pragma-test-case}@anchor{109} @section Pragma Test_Case @@ -8431,7 +8475,7 @@ postcondition. Mode @code{Robustness} indicates that the precondition and postcondition of the subprogram should be ignored for this test case. @node Pragma Thread_Local_Storage,Pragma Time_Slice,Pragma Test_Case,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id50}@anchor{108}@anchor{gnat_rm/implementation_defined_pragmas pragma-thread-local-storage}@anchor{109} +@anchor{gnat_rm/implementation_defined_pragmas id51}@anchor{10a}@anchor{gnat_rm/implementation_defined_pragmas pragma-thread-local-storage}@anchor{10b} @section Pragma Thread_Local_Storage @@ -8469,7 +8513,7 @@ If this pragma is used on a system where @code{TLS} is not supported, then an error message will be generated and the program will be rejected. @node Pragma Time_Slice,Pragma Title,Pragma Thread_Local_Storage,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-time-slice}@anchor{10a} +@anchor{gnat_rm/implementation_defined_pragmas pragma-time-slice}@anchor{10c} @section Pragma Time_Slice @@ -8485,7 +8529,7 @@ It is ignored if it is used in a system that does not allow this control, or if it appears in other than the main program unit. @node Pragma Title,Pragma Type_Invariant,Pragma Time_Slice,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-title}@anchor{10b} +@anchor{gnat_rm/implementation_defined_pragmas pragma-title}@anchor{10d} @section Pragma Title @@ -8510,7 +8554,7 @@ notation is used, and named and positional notation can be mixed following the normal rules for procedure calls in Ada. @node Pragma Type_Invariant,Pragma Type_Invariant_Class,Pragma Title,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-type-invariant}@anchor{10c} +@anchor{gnat_rm/implementation_defined_pragmas pragma-type-invariant}@anchor{10e} @section Pragma Type_Invariant @@ -8531,7 +8575,7 @@ controlled by the assertion identifier @code{Type_Invariant} rather than @code{Invariant}. @node Pragma Type_Invariant_Class,Pragma Unchecked_Union,Pragma Type_Invariant,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id51}@anchor{10d}@anchor{gnat_rm/implementation_defined_pragmas pragma-type-invariant-class}@anchor{10e} +@anchor{gnat_rm/implementation_defined_pragmas id52}@anchor{10f}@anchor{gnat_rm/implementation_defined_pragmas pragma-type-invariant-class}@anchor{110} @section Pragma Type_Invariant_Class @@ -8558,7 +8602,7 @@ policy that controls this pragma is @code{Type_Invariant'Class}, not @code{Type_Invariant_Class}. @node Pragma Unchecked_Union,Pragma Unevaluated_Use_Of_Old,Pragma Type_Invariant_Class,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-unchecked-union}@anchor{10f} +@anchor{gnat_rm/implementation_defined_pragmas pragma-unchecked-union}@anchor{111} @section Pragma Unchecked_Union @@ -8578,7 +8622,7 @@ version in all language modes (Ada 83, Ada 95, and Ada 2005). For full details, consult the Ada 2012 Reference Manual, section B.3.3. @node Pragma Unevaluated_Use_Of_Old,Pragma User_Aspect_Definition,Pragma Unchecked_Union,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-unevaluated-use-of-old}@anchor{110} +@anchor{gnat_rm/implementation_defined_pragmas pragma-unevaluated-use-of-old}@anchor{112} @section Pragma Unevaluated_Use_Of_Old @@ -8633,7 +8677,7 @@ uses up to the end of the corresponding statement sequence or sequence of package declarations. @node Pragma User_Aspect_Definition,Pragma Unimplemented_Unit,Pragma Unevaluated_Use_Of_Old,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-user-aspect-definition}@anchor{111} +@anchor{gnat_rm/implementation_defined_pragmas pragma-user-aspect-definition}@anchor{113} @section Pragma User_Aspect_Definition @@ -8665,7 +8709,7 @@ pragma. If multiple definitions are visible for some aspect at some point, then the definitions must agree. A predefined aspect cannot be redefined. @node Pragma Unimplemented_Unit,Pragma Universal_Aliasing,Pragma User_Aspect_Definition,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-unimplemented-unit}@anchor{112} +@anchor{gnat_rm/implementation_defined_pragmas pragma-unimplemented-unit}@anchor{114} @section Pragma Unimplemented_Unit @@ -8685,7 +8729,7 @@ The abort only happens if code is being generated. Thus you can use specs of unimplemented packages in syntax or semantic checking mode. @node Pragma Universal_Aliasing,Pragma Unmodified,Pragma Unimplemented_Unit,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id52}@anchor{113}@anchor{gnat_rm/implementation_defined_pragmas pragma-universal-aliasing}@anchor{114} +@anchor{gnat_rm/implementation_defined_pragmas id53}@anchor{115}@anchor{gnat_rm/implementation_defined_pragmas pragma-universal-aliasing}@anchor{116} @section Pragma Universal_Aliasing @@ -8703,7 +8747,7 @@ they need to be suppressed, see the section on @code{Optimization and Strict Aliasing} in the @cite{GNAT User’s Guide}. @node Pragma Unmodified,Pragma Unreferenced,Pragma Universal_Aliasing,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id53}@anchor{115}@anchor{gnat_rm/implementation_defined_pragmas pragma-unmodified}@anchor{116} +@anchor{gnat_rm/implementation_defined_pragmas id54}@anchor{117}@anchor{gnat_rm/implementation_defined_pragmas pragma-unmodified}@anchor{118} @section Pragma Unmodified @@ -8737,7 +8781,7 @@ Thus it is never necessary to use @code{pragma Unmodified} for such variables, though it is harmless to do so. @node Pragma Unreferenced,Pragma Unreferenced_Objects,Pragma Unmodified,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id54}@anchor{117}@anchor{gnat_rm/implementation_defined_pragmas pragma-unreferenced}@anchor{118} +@anchor{gnat_rm/implementation_defined_pragmas id55}@anchor{119}@anchor{gnat_rm/implementation_defined_pragmas pragma-unreferenced}@anchor{11a} @section Pragma Unreferenced @@ -8799,7 +8843,7 @@ Thus it is never necessary to use @code{pragma Unreferenced} for such variables, though it is harmless to do so. @node Pragma Unreferenced_Objects,Pragma Unreserve_All_Interrupts,Pragma Unreferenced,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id55}@anchor{119}@anchor{gnat_rm/implementation_defined_pragmas pragma-unreferenced-objects}@anchor{11a} +@anchor{gnat_rm/implementation_defined_pragmas id56}@anchor{11b}@anchor{gnat_rm/implementation_defined_pragmas pragma-unreferenced-objects}@anchor{11c} @section Pragma Unreferenced_Objects @@ -8824,7 +8868,7 @@ compiler will automatically suppress unwanted warnings about these variables not being referenced. @node Pragma Unreserve_All_Interrupts,Pragma Unsuppress,Pragma Unreferenced_Objects,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-unreserve-all-interrupts}@anchor{11b} +@anchor{gnat_rm/implementation_defined_pragmas pragma-unreserve-all-interrupts}@anchor{11d} @section Pragma Unreserve_All_Interrupts @@ -8837,15 +8881,15 @@ pragma Unreserve_All_Interrupts; Normally certain interrupts are reserved to the implementation. Any attempt to attach an interrupt causes Program_Error to be raised, as described in RM C.3.2(22). A typical example is the @code{SIGINT} interrupt used in -many systems for a @code{Ctrl-C} interrupt. Normally this interrupt is -reserved to the implementation, so that @code{Ctrl-C} can be used to +many systems for a @code{Ctrl}-@code{C} interrupt. Normally this interrupt is +reserved to the implementation, so that @code{Ctrl}-@code{C} can be used to interrupt execution. If the pragma @code{Unreserve_All_Interrupts} appears anywhere in any unit in a program, then all such interrupts are unreserved. This allows the program to handle these interrupts, but disables their standard functions. For example, if this pragma is used, then pressing -@code{Ctrl-C} will not automatically interrupt execution. However, +@code{Ctrl}-@code{C} will not automatically interrupt execution. However, a program can then handle the @code{SIGINT} interrupt as it chooses. For a full list of the interrupts handled in a specific implementation, @@ -8860,7 +8904,7 @@ handled, see pragma @code{Interrupt_State}, which subsumes the functionality of the @code{Unreserve_All_Interrupts} pragma. @node Pragma Unsuppress,Pragma Unused,Pragma Unreserve_All_Interrupts,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-unsuppress}@anchor{11c} +@anchor{gnat_rm/implementation_defined_pragmas pragma-unsuppress}@anchor{11e} @section Pragma Unsuppress @@ -8896,7 +8940,7 @@ number of implementation-defined check names. See the description of pragma @code{Suppress} for full details. @node Pragma Unused,Pragma Use_VADS_Size,Pragma Unsuppress,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id56}@anchor{11d}@anchor{gnat_rm/implementation_defined_pragmas pragma-unused}@anchor{11e} +@anchor{gnat_rm/implementation_defined_pragmas id57}@anchor{11f}@anchor{gnat_rm/implementation_defined_pragmas pragma-unused}@anchor{120} @section Pragma Unused @@ -8930,7 +8974,7 @@ Thus it is never necessary to use @code{pragma Unused} for such variables, though it is harmless to do so. @node Pragma Use_VADS_Size,Pragma Validity_Checks,Pragma Unused,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-use-vads-size}@anchor{11f} +@anchor{gnat_rm/implementation_defined_pragmas pragma-use-vads-size}@anchor{121} @section Pragma Use_VADS_Size @@ -8954,7 +8998,7 @@ as implemented in the VADS compiler. See description of the VADS_Size attribute for further details. @node Pragma Validity_Checks,Pragma Volatile,Pragma Use_VADS_Size,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-validity-checks}@anchor{120} +@anchor{gnat_rm/implementation_defined_pragmas pragma-validity-checks}@anchor{122} @section Pragma Validity_Checks @@ -9010,7 +9054,7 @@ A := C; -- C will be validity checked @end example @node Pragma Volatile,Pragma Volatile_Full_Access,Pragma Validity_Checks,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id57}@anchor{121}@anchor{gnat_rm/implementation_defined_pragmas pragma-volatile}@anchor{122} +@anchor{gnat_rm/implementation_defined_pragmas id58}@anchor{123}@anchor{gnat_rm/implementation_defined_pragmas pragma-volatile}@anchor{124} @section Pragma Volatile @@ -9028,7 +9072,7 @@ implementation of pragma Volatile is upwards compatible with the implementation in DEC Ada 83. @node Pragma Volatile_Full_Access,Pragma Volatile_Function,Pragma Volatile,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id58}@anchor{123}@anchor{gnat_rm/implementation_defined_pragmas pragma-volatile-full-access}@anchor{124} +@anchor{gnat_rm/implementation_defined_pragmas id59}@anchor{125}@anchor{gnat_rm/implementation_defined_pragmas pragma-volatile-full-access}@anchor{126} @section Pragma Volatile_Full_Access @@ -9054,7 +9098,7 @@ is not to the whole object; the compiler is allowed (and generally will) access only part of the object in this case. @node Pragma Volatile_Function,Pragma Warning_As_Error,Pragma Volatile_Full_Access,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id59}@anchor{125}@anchor{gnat_rm/implementation_defined_pragmas pragma-volatile-function}@anchor{126} +@anchor{gnat_rm/implementation_defined_pragmas id60}@anchor{127}@anchor{gnat_rm/implementation_defined_pragmas pragma-volatile-function}@anchor{128} @section Pragma Volatile_Function @@ -9068,7 +9112,7 @@ For the semantics of this pragma, see the entry for aspect @code{Volatile_Functi in the SPARK 2014 Reference Manual, section 7.1.2. @node Pragma Warning_As_Error,Pragma Warnings,Pragma Volatile_Function,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-warning-as-error}@anchor{127} +@anchor{gnat_rm/implementation_defined_pragmas pragma-warning-as-error}@anchor{129} @section Pragma Warning_As_Error @@ -9108,7 +9152,7 @@ you can use multiple pragma Warning_As_Error. The above use of patterns to match the message applies only to warning messages generated by the front end. This pragma can also be applied to -warnings provided by the back end and mentioned in @ref{128,,Pragma Warnings}. +warnings provided by the back end and mentioned in @ref{12a,,Pragma Warnings}. By using a single full `-Wxxx' switch in the pragma, such warnings can also be treated as errors. @@ -9158,7 +9202,7 @@ the tag is changed from “warning:” to “error:” and the string “[warning-as-error]” is appended to the end of the message. @node Pragma Warnings,Pragma Weak_External,Pragma Warning_As_Error,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas id60}@anchor{129}@anchor{gnat_rm/implementation_defined_pragmas pragma-warnings}@anchor{128} +@anchor{gnat_rm/implementation_defined_pragmas id61}@anchor{12b}@anchor{gnat_rm/implementation_defined_pragmas pragma-warnings}@anchor{12a} @section Pragma Warnings @@ -9314,7 +9358,7 @@ selectively for each tool, and as a consequence to detect useless pragma Warnings with switch @code{-gnatw.w}. @node Pragma Weak_External,Pragma Wide_Character_Encoding,Pragma Warnings,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-weak-external}@anchor{12a} +@anchor{gnat_rm/implementation_defined_pragmas pragma-weak-external}@anchor{12c} @section Pragma Weak_External @@ -9365,7 +9409,7 @@ end External_Module; @end example @node Pragma Wide_Character_Encoding,,Pragma Weak_External,Implementation Defined Pragmas -@anchor{gnat_rm/implementation_defined_pragmas pragma-wide-character-encoding}@anchor{12b} +@anchor{gnat_rm/implementation_defined_pragmas pragma-wide-character-encoding}@anchor{12d} @section Pragma Wide_Character_Encoding @@ -9396,7 +9440,7 @@ encoding within that file, and does not affect withed units, specs, or subunits. @node Implementation Defined Aspects,Implementation Defined Attributes,Implementation Defined Pragmas,Top -@anchor{gnat_rm/implementation_defined_aspects doc}@anchor{12c}@anchor{gnat_rm/implementation_defined_aspects id1}@anchor{12d}@anchor{gnat_rm/implementation_defined_aspects implementation-defined-aspects}@anchor{12e} +@anchor{gnat_rm/implementation_defined_aspects doc}@anchor{12e}@anchor{gnat_rm/implementation_defined_aspects id1}@anchor{12f}@anchor{gnat_rm/implementation_defined_aspects implementation-defined-aspects}@anchor{130} @chapter Implementation Defined Aspects @@ -9493,6 +9537,7 @@ or attribute definition clause. * Aspect Part_Of:: * Aspect Persistent_BSS:: * Aspect Predicate:: +* Aspect Program_Exit:: * Aspect Pure_Function:: * Aspect Refined_Depends:: * Aspect Refined_Global:: @@ -9525,7 +9570,7 @@ or attribute definition clause. @end menu @node Aspect Abstract_State,Aspect Always_Terminates,,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-abstract-state}@anchor{12f} +@anchor{gnat_rm/implementation_defined_aspects aspect-abstract-state}@anchor{131} @section Aspect Abstract_State @@ -9534,7 +9579,7 @@ or attribute definition clause. This aspect is equivalent to @ref{1e,,pragma Abstract_State}. @node Aspect Always_Terminates,Aspect Annotate,Aspect Abstract_State,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-always-terminates}@anchor{130} +@anchor{gnat_rm/implementation_defined_aspects aspect-always-terminates}@anchor{132} @section Aspect Always_Terminates @@ -9543,7 +9588,7 @@ This aspect is equivalent to @ref{1e,,pragma Abstract_State}. This boolean aspect is equivalent to @ref{29,,pragma Always_Terminates}. @node Aspect Annotate,Aspect Async_Readers,Aspect Always_Terminates,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-annotate}@anchor{131} +@anchor{gnat_rm/implementation_defined_aspects aspect-annotate}@anchor{133} @section Aspect Annotate @@ -9570,7 +9615,7 @@ Equivalent to @code{pragma Annotate (ID, ID @{, ARG@}, Entity => Name);} @end table @node Aspect Async_Readers,Aspect Async_Writers,Aspect Annotate,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-async-readers}@anchor{132} +@anchor{gnat_rm/implementation_defined_aspects aspect-async-readers}@anchor{134} @section Aspect Async_Readers @@ -9579,7 +9624,7 @@ Equivalent to @code{pragma Annotate (ID, ID @{, ARG@}, Entity => Name);} This boolean aspect is equivalent to @ref{32,,pragma Async_Readers}. @node Aspect Async_Writers,Aspect Constant_After_Elaboration,Aspect Async_Readers,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-async-writers}@anchor{133} +@anchor{gnat_rm/implementation_defined_aspects aspect-async-writers}@anchor{135} @section Aspect Async_Writers @@ -9588,7 +9633,7 @@ This boolean aspect is equivalent to @ref{32,,pragma Async_Readers}. This boolean aspect is equivalent to @ref{34,,pragma Async_Writers}. @node Aspect Constant_After_Elaboration,Aspect Contract_Cases,Aspect Async_Writers,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-constant-after-elaboration}@anchor{134} +@anchor{gnat_rm/implementation_defined_aspects aspect-constant-after-elaboration}@anchor{136} @section Aspect Constant_After_Elaboration @@ -9597,7 +9642,7 @@ This boolean aspect is equivalent to @ref{34,,pragma Async_Writers}. This aspect is equivalent to @ref{44,,pragma Constant_After_Elaboration}. @node Aspect Contract_Cases,Aspect Depends,Aspect Constant_After_Elaboration,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-contract-cases}@anchor{135} +@anchor{gnat_rm/implementation_defined_aspects aspect-contract-cases}@anchor{137} @section Aspect Contract_Cases @@ -9608,7 +9653,7 @@ of clauses being enclosed in parentheses so that syntactically it is an aggregate. @node Aspect Depends,Aspect Default_Initial_Condition,Aspect Contract_Cases,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-depends}@anchor{136} +@anchor{gnat_rm/implementation_defined_aspects aspect-depends}@anchor{138} @section Aspect Depends @@ -9617,7 +9662,7 @@ aggregate. This aspect is equivalent to @ref{56,,pragma Depends}. @node Aspect Default_Initial_Condition,Aspect Dimension,Aspect Depends,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-default-initial-condition}@anchor{137} +@anchor{gnat_rm/implementation_defined_aspects aspect-default-initial-condition}@anchor{139} @section Aspect Default_Initial_Condition @@ -9626,7 +9671,7 @@ This aspect is equivalent to @ref{56,,pragma Depends}. This aspect is equivalent to @ref{52,,pragma Default_Initial_Condition}. @node Aspect Dimension,Aspect Dimension_System,Aspect Default_Initial_Condition,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-dimension}@anchor{138} +@anchor{gnat_rm/implementation_defined_aspects aspect-dimension}@anchor{13a} @section Aspect Dimension @@ -9662,7 +9707,7 @@ Note that when the dimensioned type is an integer type, then any dimension value must be an integer literal. @node Aspect Dimension_System,Aspect Disable_Controlled,Aspect Dimension,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-dimension-system}@anchor{139} +@anchor{gnat_rm/implementation_defined_aspects aspect-dimension-system}@anchor{13b} @section Aspect Dimension_System @@ -9722,7 +9767,7 @@ See section ‘Performing Dimensionality Analysis in GNAT’ in the GNAT Users Guide for detailed examples of use of the dimension system. @node Aspect Disable_Controlled,Aspect Effective_Reads,Aspect Dimension_System,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-disable-controlled}@anchor{13a} +@anchor{gnat_rm/implementation_defined_aspects aspect-disable-controlled}@anchor{13c} @section Aspect Disable_Controlled @@ -9735,7 +9780,7 @@ where for example you might want a record to be controlled or not depending on whether some run-time check is enabled or suppressed. @node Aspect Effective_Reads,Aspect Effective_Writes,Aspect Disable_Controlled,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-effective-reads}@anchor{13b} +@anchor{gnat_rm/implementation_defined_aspects aspect-effective-reads}@anchor{13d} @section Aspect Effective_Reads @@ -9744,7 +9789,7 @@ whether some run-time check is enabled or suppressed. This aspect is equivalent to @ref{5b,,pragma Effective_Reads}. @node Aspect Effective_Writes,Aspect Exceptional_Cases,Aspect Effective_Reads,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-effective-writes}@anchor{13c} +@anchor{gnat_rm/implementation_defined_aspects aspect-effective-writes}@anchor{13e} @section Aspect Effective_Writes @@ -9753,7 +9798,7 @@ This aspect is equivalent to @ref{5b,,pragma Effective_Reads}. This aspect is equivalent to @ref{5d,,pragma Effective_Writes}. @node Aspect Exceptional_Cases,Aspect Exit_Cases,Aspect Effective_Writes,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-exceptional-cases}@anchor{13d} +@anchor{gnat_rm/implementation_defined_aspects aspect-exceptional-cases}@anchor{13f} @section Aspect Exceptional_Cases @@ -9768,7 +9813,7 @@ For the syntax and semantics of this aspect, see the SPARK 2014 Reference Manual, section 6.1.9. @node Aspect Exit_Cases,Aspect Extensions_Visible,Aspect Exceptional_Cases,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-exit-cases}@anchor{13e} +@anchor{gnat_rm/implementation_defined_aspects aspect-exit-cases}@anchor{140} @section Aspect Exit_Cases @@ -9783,7 +9828,7 @@ For the syntax and semantics of this aspect, see the SPARK 2014 Reference Manual, section 6.1.10. @node Aspect Extensions_Visible,Aspect Favor_Top_Level,Aspect Exit_Cases,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-extensions-visible}@anchor{13f} +@anchor{gnat_rm/implementation_defined_aspects aspect-extensions-visible}@anchor{141} @section Aspect Extensions_Visible @@ -9792,7 +9837,7 @@ Manual, section 6.1.10. This aspect is equivalent to @ref{6d,,pragma Extensions_Visible}. @node Aspect Favor_Top_Level,Aspect Ghost,Aspect Extensions_Visible,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-favor-top-level}@anchor{140} +@anchor{gnat_rm/implementation_defined_aspects aspect-favor-top-level}@anchor{142} @section Aspect Favor_Top_Level @@ -9801,7 +9846,7 @@ This aspect is equivalent to @ref{6d,,pragma Extensions_Visible}. This boolean aspect is equivalent to @ref{72,,pragma Favor_Top_Level}. @node Aspect Ghost,Aspect Ghost_Predicate,Aspect Favor_Top_Level,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-ghost}@anchor{141} +@anchor{gnat_rm/implementation_defined_aspects aspect-ghost}@anchor{143} @section Aspect Ghost @@ -9810,7 +9855,7 @@ This boolean aspect is equivalent to @ref{72,,pragma Favor_Top_Level}. This aspect is equivalent to @ref{76,,pragma Ghost}. @node Aspect Ghost_Predicate,Aspect Global,Aspect Ghost,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-ghost-predicate}@anchor{142} +@anchor{gnat_rm/implementation_defined_aspects aspect-ghost-predicate}@anchor{144} @section Aspect Ghost_Predicate @@ -9823,7 +9868,7 @@ For the detailed semantics of this aspect, see the entry for subtype predicates in the SPARK Reference Manual, section 3.2.4. @node Aspect Global,Aspect Initial_Condition,Aspect Ghost_Predicate,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-global}@anchor{143} +@anchor{gnat_rm/implementation_defined_aspects aspect-global}@anchor{145} @section Aspect Global @@ -9832,7 +9877,7 @@ in the SPARK Reference Manual, section 3.2.4. This aspect is equivalent to @ref{78,,pragma Global}. @node Aspect Initial_Condition,Aspect Initializes,Aspect Global,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-initial-condition}@anchor{144} +@anchor{gnat_rm/implementation_defined_aspects aspect-initial-condition}@anchor{146} @section Aspect Initial_Condition @@ -9841,7 +9886,7 @@ This aspect is equivalent to @ref{78,,pragma Global}. This aspect is equivalent to @ref{85,,pragma Initial_Condition}. @node Aspect Initializes,Aspect Inline_Always,Aspect Initial_Condition,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-initializes}@anchor{145} +@anchor{gnat_rm/implementation_defined_aspects aspect-initializes}@anchor{147} @section Aspect Initializes @@ -9850,7 +9895,7 @@ This aspect is equivalent to @ref{85,,pragma Initial_Condition}. This aspect is equivalent to @ref{88,,pragma Initializes}. @node Aspect Inline_Always,Aspect Invariant,Aspect Initializes,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-inline-always}@anchor{146} +@anchor{gnat_rm/implementation_defined_aspects aspect-inline-always}@anchor{148} @section Aspect Inline_Always @@ -9859,7 +9904,7 @@ This aspect is equivalent to @ref{88,,pragma Initializes}. This boolean aspect is equivalent to @ref{8a,,pragma Inline_Always}. @node Aspect Invariant,Aspect Invariant’Class,Aspect Inline_Always,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-invariant}@anchor{147} +@anchor{gnat_rm/implementation_defined_aspects aspect-invariant}@anchor{149} @section Aspect Invariant @@ -9870,18 +9915,18 @@ synonym for the language defined aspect @code{Type_Invariant} except that it is separately controllable using pragma @code{Assertion_Policy}. @node Aspect Invariant’Class,Aspect Iterable,Aspect Invariant,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-invariant-class}@anchor{148} +@anchor{gnat_rm/implementation_defined_aspects aspect-invariant-class}@anchor{14a} @section Aspect Invariant’Class @geindex Invariant'Class -This aspect is equivalent to @ref{10e,,pragma Type_Invariant_Class}. It is a +This aspect is equivalent to @ref{110,,pragma Type_Invariant_Class}. It is a synonym for the language defined aspect @code{Type_Invariant'Class} except that it is separately controllable using pragma @code{Assertion_Policy}. @node Aspect Iterable,Aspect Linker_Section,Aspect Invariant’Class,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-iterable}@anchor{149} +@anchor{gnat_rm/implementation_defined_aspects aspect-iterable}@anchor{14b} @section Aspect Iterable @@ -9965,7 +10010,7 @@ function Get_Element (Cont : Container; Position : Cursor) return Element_Type; This aspect is used in the GNAT-defined formal container packages. @node Aspect Linker_Section,Aspect Local_Restrictions,Aspect Iterable,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-linker-section}@anchor{14a} +@anchor{gnat_rm/implementation_defined_aspects aspect-linker-section}@anchor{14c} @section Aspect Linker_Section @@ -9974,7 +10019,7 @@ This aspect is used in the GNAT-defined formal container packages. This aspect is equivalent to @ref{9a,,pragma Linker_Section}. @node Aspect Local_Restrictions,Aspect Lock_Free,Aspect Linker_Section,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-local-restrictions}@anchor{14b} +@anchor{gnat_rm/implementation_defined_aspects aspect-local-restrictions}@anchor{14d} @section Aspect Local_Restrictions @@ -10028,7 +10073,7 @@ case of a declaration that occurs within nested packages that each have a Local_Restrictions specification). @node Aspect Lock_Free,Aspect Max_Queue_Length,Aspect Local_Restrictions,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-lock-free}@anchor{14c} +@anchor{gnat_rm/implementation_defined_aspects aspect-lock-free}@anchor{14e} @section Aspect Lock_Free @@ -10037,7 +10082,7 @@ a Local_Restrictions specification). This boolean aspect is equivalent to @ref{9c,,pragma Lock_Free}. @node Aspect Max_Queue_Length,Aspect No_Caching,Aspect Lock_Free,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-max-queue-length}@anchor{14d} +@anchor{gnat_rm/implementation_defined_aspects aspect-max-queue-length}@anchor{14f} @section Aspect Max_Queue_Length @@ -10046,7 +10091,7 @@ This boolean aspect is equivalent to @ref{9c,,pragma Lock_Free}. This aspect is equivalent to @ref{a4,,pragma Max_Queue_Length}. @node Aspect No_Caching,Aspect No_Elaboration_Code_All,Aspect Max_Queue_Length,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-no-caching}@anchor{14e} +@anchor{gnat_rm/implementation_defined_aspects aspect-no-caching}@anchor{150} @section Aspect No_Caching @@ -10055,7 +10100,7 @@ This aspect is equivalent to @ref{a4,,pragma Max_Queue_Length}. This boolean aspect is equivalent to @ref{a7,,pragma No_Caching}. @node Aspect No_Elaboration_Code_All,Aspect No_Inline,Aspect No_Caching,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-no-elaboration-code-all}@anchor{14f} +@anchor{gnat_rm/implementation_defined_aspects aspect-no-elaboration-code-all}@anchor{151} @section Aspect No_Elaboration_Code_All @@ -10065,7 +10110,7 @@ This aspect is equivalent to @ref{aa,,pragma No_Elaboration_Code_All} for a program unit. @node Aspect No_Inline,Aspect No_Raise,Aspect No_Elaboration_Code_All,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-no-inline}@anchor{150} +@anchor{gnat_rm/implementation_defined_aspects aspect-no-inline}@anchor{152} @section Aspect No_Inline @@ -10074,7 +10119,7 @@ for a program unit. This boolean aspect is equivalent to @ref{ad,,pragma No_Inline}. @node Aspect No_Raise,Aspect No_Tagged_Streams,Aspect No_Inline,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-no-raise}@anchor{151} +@anchor{gnat_rm/implementation_defined_aspects aspect-no-raise}@anchor{153} @section Aspect No_Raise @@ -10083,7 +10128,7 @@ This boolean aspect is equivalent to @ref{ad,,pragma No_Inline}. This boolean aspect is equivalent to @ref{af,,pragma No_Raise}. @node Aspect No_Tagged_Streams,Aspect No_Task_Parts,Aspect No_Raise,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-no-tagged-streams}@anchor{152} +@anchor{gnat_rm/implementation_defined_aspects aspect-no-tagged-streams}@anchor{154} @section Aspect No_Tagged_Streams @@ -10094,7 +10139,7 @@ argument specifying a root tagged type (thus this aspect can only be applied to such a type). @node Aspect No_Task_Parts,Aspect Object_Size,Aspect No_Tagged_Streams,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-no-task-parts}@anchor{153} +@anchor{gnat_rm/implementation_defined_aspects aspect-no-task-parts}@anchor{155} @section Aspect No_Task_Parts @@ -10110,16 +10155,16 @@ away certain tasking-related code that would otherwise be needed for T’Class, because descendants of T might contain tasks. @node Aspect Object_Size,Aspect Obsolescent,Aspect No_Task_Parts,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-object-size}@anchor{154} +@anchor{gnat_rm/implementation_defined_aspects aspect-object-size}@anchor{156} @section Aspect Object_Size @geindex Object_Size -This aspect is equivalent to @ref{155,,attribute Object_Size}. +This aspect is equivalent to @ref{157,,attribute Object_Size}. @node Aspect Obsolescent,Aspect Part_Of,Aspect Object_Size,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-obsolescent}@anchor{156} +@anchor{gnat_rm/implementation_defined_aspects aspect-obsolescent}@anchor{158} @section Aspect Obsolescent @@ -10130,7 +10175,7 @@ evaluation of this aspect happens at the point of occurrence, it is not delayed until the freeze point. @node Aspect Part_Of,Aspect Persistent_BSS,Aspect Obsolescent,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-part-of}@anchor{157} +@anchor{gnat_rm/implementation_defined_aspects aspect-part-of}@anchor{159} @section Aspect Part_Of @@ -10139,7 +10184,7 @@ delayed until the freeze point. This aspect is equivalent to @ref{bc,,pragma Part_Of}. @node Aspect Persistent_BSS,Aspect Predicate,Aspect Part_Of,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-persistent-bss}@anchor{158} +@anchor{gnat_rm/implementation_defined_aspects aspect-persistent-bss}@anchor{15a} @section Aspect Persistent_BSS @@ -10147,8 +10192,8 @@ This aspect is equivalent to @ref{bc,,pragma Part_Of}. This boolean aspect is equivalent to @ref{c0,,pragma Persistent_BSS}. -@node Aspect Predicate,Aspect Pure_Function,Aspect Persistent_BSS,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-predicate}@anchor{159} +@node Aspect Predicate,Aspect Program_Exit,Aspect Persistent_BSS,Implementation Defined Aspects +@anchor{gnat_rm/implementation_defined_aspects aspect-predicate}@anchor{15b} @section Aspect Predicate @@ -10161,53 +10206,62 @@ predicate is static or dynamic is controlled by the form of the expression. It is also separately controllable using pragma @code{Assertion_Policy}. -@node Aspect Pure_Function,Aspect Refined_Depends,Aspect Predicate,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-pure-function}@anchor{15a} +@node Aspect Program_Exit,Aspect Pure_Function,Aspect Predicate,Implementation Defined Aspects +@anchor{gnat_rm/implementation_defined_aspects aspect-program-exit}@anchor{15c} +@section Aspect Program_Exit + + +@geindex Program_Exit + +This boolean aspect is equivalent to @ref{d0,,pragma Program_Exit}. + +@node Aspect Pure_Function,Aspect Refined_Depends,Aspect Program_Exit,Implementation Defined Aspects +@anchor{gnat_rm/implementation_defined_aspects aspect-pure-function}@anchor{15d} @section Aspect Pure_Function @geindex Pure_Function -This boolean aspect is equivalent to @ref{d3,,pragma Pure_Function}. +This boolean aspect is equivalent to @ref{d5,,pragma Pure_Function}. @node Aspect Refined_Depends,Aspect Refined_Global,Aspect Pure_Function,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-refined-depends}@anchor{15b} +@anchor{gnat_rm/implementation_defined_aspects aspect-refined-depends}@anchor{15e} @section Aspect Refined_Depends @geindex Refined_Depends -This aspect is equivalent to @ref{d7,,pragma Refined_Depends}. +This aspect is equivalent to @ref{d9,,pragma Refined_Depends}. @node Aspect Refined_Global,Aspect Refined_Post,Aspect Refined_Depends,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-refined-global}@anchor{15c} +@anchor{gnat_rm/implementation_defined_aspects aspect-refined-global}@anchor{15f} @section Aspect Refined_Global @geindex Refined_Global -This aspect is equivalent to @ref{d9,,pragma Refined_Global}. +This aspect is equivalent to @ref{db,,pragma Refined_Global}. @node Aspect Refined_Post,Aspect Refined_State,Aspect Refined_Global,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-refined-post}@anchor{15d} +@anchor{gnat_rm/implementation_defined_aspects aspect-refined-post}@anchor{160} @section Aspect Refined_Post @geindex Refined_Post -This aspect is equivalent to @ref{db,,pragma Refined_Post}. +This aspect is equivalent to @ref{dd,,pragma Refined_Post}. @node Aspect Refined_State,Aspect Relaxed_Initialization,Aspect Refined_Post,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-refined-state}@anchor{15e} +@anchor{gnat_rm/implementation_defined_aspects aspect-refined-state}@anchor{161} @section Aspect Refined_State @geindex Refined_State -This aspect is equivalent to @ref{dd,,pragma Refined_State}. +This aspect is equivalent to @ref{df,,pragma Refined_State}. @node Aspect Relaxed_Initialization,Aspect Remote_Access_Type,Aspect Refined_State,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-relaxed-initialization}@anchor{15f} +@anchor{gnat_rm/implementation_defined_aspects aspect-relaxed-initialization}@anchor{162} @section Aspect Relaxed_Initialization @@ -10217,82 +10271,82 @@ For the syntax and semantics of this aspect, see the SPARK 2014 Reference Manual, section 6.10. @node Aspect Remote_Access_Type,Aspect Scalar_Storage_Order,Aspect Relaxed_Initialization,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-remote-access-type}@anchor{160} +@anchor{gnat_rm/implementation_defined_aspects aspect-remote-access-type}@anchor{163} @section Aspect Remote_Access_Type @geindex Remote_Access_Type -This aspect is equivalent to @ref{e0,,pragma Remote_Access_Type}. +This aspect is equivalent to @ref{e2,,pragma Remote_Access_Type}. @node Aspect Scalar_Storage_Order,Aspect Secondary_Stack_Size,Aspect Remote_Access_Type,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-scalar-storage-order}@anchor{161} +@anchor{gnat_rm/implementation_defined_aspects aspect-scalar-storage-order}@anchor{164} @section Aspect Scalar_Storage_Order @geindex Scalar_Storage_Order -This aspect is equivalent to a @ref{162,,attribute Scalar_Storage_Order}. +This aspect is equivalent to a @ref{165,,attribute Scalar_Storage_Order}. @node Aspect Secondary_Stack_Size,Aspect Shared,Aspect Scalar_Storage_Order,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-secondary-stack-size}@anchor{163} +@anchor{gnat_rm/implementation_defined_aspects aspect-secondary-stack-size}@anchor{166} @section Aspect Secondary_Stack_Size @geindex Secondary_Stack_Size -This aspect is equivalent to @ref{e6,,pragma Secondary_Stack_Size}. +This aspect is equivalent to @ref{e8,,pragma Secondary_Stack_Size}. @node Aspect Shared,Aspect Side_Effects,Aspect Secondary_Stack_Size,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-shared}@anchor{164} +@anchor{gnat_rm/implementation_defined_aspects aspect-shared}@anchor{167} @section Aspect Shared @geindex Shared -This boolean aspect is equivalent to @ref{e9,,pragma Shared} +This boolean aspect is equivalent to @ref{eb,,pragma Shared} and is thus a synonym for aspect @code{Atomic}. @node Aspect Side_Effects,Aspect Simple_Storage_Pool,Aspect Shared,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-side-effects}@anchor{165} +@anchor{gnat_rm/implementation_defined_aspects aspect-side-effects}@anchor{168} @section Aspect Side_Effects @geindex Side_Effects -This aspect is equivalent to @ref{ed,,pragma Side_Effects}. +This aspect is equivalent to @ref{ef,,pragma Side_Effects}. @node Aspect Simple_Storage_Pool,Aspect Simple_Storage_Pool_Type,Aspect Side_Effects,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-simple-storage-pool}@anchor{166} +@anchor{gnat_rm/implementation_defined_aspects aspect-simple-storage-pool}@anchor{169} @section Aspect Simple_Storage_Pool @geindex Simple_Storage_Pool -This aspect is equivalent to @ref{f0,,attribute Simple_Storage_Pool}. +This aspect is equivalent to @ref{f2,,attribute Simple_Storage_Pool}. @node Aspect Simple_Storage_Pool_Type,Aspect SPARK_Mode,Aspect Simple_Storage_Pool,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-simple-storage-pool-type}@anchor{167} +@anchor{gnat_rm/implementation_defined_aspects aspect-simple-storage-pool-type}@anchor{16a} @section Aspect Simple_Storage_Pool_Type @geindex Simple_Storage_Pool_Type -This boolean aspect is equivalent to @ref{ef,,pragma Simple_Storage_Pool_Type}. +This boolean aspect is equivalent to @ref{f1,,pragma Simple_Storage_Pool_Type}. @node Aspect SPARK_Mode,Aspect Subprogram_Variant,Aspect Simple_Storage_Pool_Type,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-spark-mode}@anchor{168} +@anchor{gnat_rm/implementation_defined_aspects aspect-spark-mode}@anchor{16b} @section Aspect SPARK_Mode @geindex SPARK_Mode -This aspect is equivalent to @ref{f7,,pragma SPARK_Mode} and +This aspect is equivalent to @ref{f9,,pragma SPARK_Mode} and may be specified for either or both of the specification and body of a subprogram or package. @node Aspect Subprogram_Variant,Aspect Suppress_Debug_Info,Aspect SPARK_Mode,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-subprogram-variant}@anchor{169} +@anchor{gnat_rm/implementation_defined_aspects aspect-subprogram-variant}@anchor{16c} @section Aspect Subprogram_Variant @@ -10302,83 +10356,83 @@ For the syntax and semantics of this aspect, see the SPARK 2014 Reference Manual, section 6.1.8. @node Aspect Suppress_Debug_Info,Aspect Suppress_Initialization,Aspect Subprogram_Variant,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-suppress-debug-info}@anchor{16a} +@anchor{gnat_rm/implementation_defined_aspects aspect-suppress-debug-info}@anchor{16d} @section Aspect Suppress_Debug_Info @geindex Suppress_Debug_Info -This boolean aspect is equivalent to @ref{100,,pragma Suppress_Debug_Info}. +This boolean aspect is equivalent to @ref{102,,pragma Suppress_Debug_Info}. @node Aspect Suppress_Initialization,Aspect Test_Case,Aspect Suppress_Debug_Info,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-suppress-initialization}@anchor{16b} +@anchor{gnat_rm/implementation_defined_aspects aspect-suppress-initialization}@anchor{16e} @section Aspect Suppress_Initialization @geindex Suppress_Initialization -This boolean aspect is equivalent to @ref{103,,pragma Suppress_Initialization}. +This boolean aspect is equivalent to @ref{105,,pragma Suppress_Initialization}. @node Aspect Test_Case,Aspect Thread_Local_Storage,Aspect Suppress_Initialization,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-test-case}@anchor{16c} +@anchor{gnat_rm/implementation_defined_aspects aspect-test-case}@anchor{16f} @section Aspect Test_Case @geindex Test_Case -This aspect is equivalent to @ref{107,,pragma Test_Case}. +This aspect is equivalent to @ref{109,,pragma Test_Case}. @node Aspect Thread_Local_Storage,Aspect Universal_Aliasing,Aspect Test_Case,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-thread-local-storage}@anchor{16d} +@anchor{gnat_rm/implementation_defined_aspects aspect-thread-local-storage}@anchor{170} @section Aspect Thread_Local_Storage @geindex Thread_Local_Storage -This boolean aspect is equivalent to @ref{109,,pragma Thread_Local_Storage}. +This boolean aspect is equivalent to @ref{10b,,pragma Thread_Local_Storage}. @node Aspect Universal_Aliasing,Aspect Unmodified,Aspect Thread_Local_Storage,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-universal-aliasing}@anchor{16e} +@anchor{gnat_rm/implementation_defined_aspects aspect-universal-aliasing}@anchor{171} @section Aspect Universal_Aliasing @geindex Universal_Aliasing -This boolean aspect is equivalent to @ref{114,,pragma Universal_Aliasing}. +This boolean aspect is equivalent to @ref{116,,pragma Universal_Aliasing}. @node Aspect Unmodified,Aspect Unreferenced,Aspect Universal_Aliasing,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-unmodified}@anchor{16f} +@anchor{gnat_rm/implementation_defined_aspects aspect-unmodified}@anchor{172} @section Aspect Unmodified @geindex Unmodified -This boolean aspect is equivalent to @ref{116,,pragma Unmodified}. +This boolean aspect is equivalent to @ref{118,,pragma Unmodified}. @node Aspect Unreferenced,Aspect Unreferenced_Objects,Aspect Unmodified,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-unreferenced}@anchor{170} +@anchor{gnat_rm/implementation_defined_aspects aspect-unreferenced}@anchor{173} @section Aspect Unreferenced @geindex Unreferenced -This boolean aspect is equivalent to @ref{118,,pragma Unreferenced}. +This boolean aspect is equivalent to @ref{11a,,pragma Unreferenced}. When using the @code{-gnat2022} switch, this aspect is also supported on formal parameters, which is in particular the only form possible for expression functions. @node Aspect Unreferenced_Objects,Aspect User_Aspect,Aspect Unreferenced,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-unreferenced-objects}@anchor{171} +@anchor{gnat_rm/implementation_defined_aspects aspect-unreferenced-objects}@anchor{174} @section Aspect Unreferenced_Objects @geindex Unreferenced_Objects -This boolean aspect is equivalent to @ref{11a,,pragma Unreferenced_Objects}. +This boolean aspect is equivalent to @ref{11c,,pragma Unreferenced_Objects}. @node Aspect User_Aspect,Aspect Value_Size,Aspect Unreferenced_Objects,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-user-aspect}@anchor{172} +@anchor{gnat_rm/implementation_defined_aspects aspect-user-aspect}@anchor{175} @section Aspect User_Aspect @@ -10391,45 +10445,45 @@ replicating the set of aspect specifications associated with the named pragma-defined aspect. @node Aspect Value_Size,Aspect Volatile_Full_Access,Aspect User_Aspect,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-value-size}@anchor{173} +@anchor{gnat_rm/implementation_defined_aspects aspect-value-size}@anchor{176} @section Aspect Value_Size @geindex Value_Size -This aspect is equivalent to @ref{174,,attribute Value_Size}. +This aspect is equivalent to @ref{177,,attribute Value_Size}. @node Aspect Volatile_Full_Access,Aspect Volatile_Function,Aspect Value_Size,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-volatile-full-access}@anchor{175} +@anchor{gnat_rm/implementation_defined_aspects aspect-volatile-full-access}@anchor{178} @section Aspect Volatile_Full_Access @geindex Volatile_Full_Access -This boolean aspect is equivalent to @ref{124,,pragma Volatile_Full_Access}. +This boolean aspect is equivalent to @ref{126,,pragma Volatile_Full_Access}. @node Aspect Volatile_Function,Aspect Warnings,Aspect Volatile_Full_Access,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-volatile-function}@anchor{176} +@anchor{gnat_rm/implementation_defined_aspects aspect-volatile-function}@anchor{179} @section Aspect Volatile_Function @geindex Volatile_Function -This boolean aspect is equivalent to @ref{126,,pragma Volatile_Function}. +This boolean aspect is equivalent to @ref{128,,pragma Volatile_Function}. @node Aspect Warnings,,Aspect Volatile_Function,Implementation Defined Aspects -@anchor{gnat_rm/implementation_defined_aspects aspect-warnings}@anchor{177} +@anchor{gnat_rm/implementation_defined_aspects aspect-warnings}@anchor{17a} @section Aspect Warnings @geindex Warnings -This aspect is equivalent to the two argument form of @ref{128,,pragma Warnings}, +This aspect is equivalent to the two argument form of @ref{12a,,pragma Warnings}, where the first argument is @code{ON} or @code{OFF} and the second argument is the entity. @node Implementation Defined Attributes,Standard and Implementation Defined Restrictions,Implementation Defined Aspects,Top -@anchor{gnat_rm/implementation_defined_attributes doc}@anchor{178}@anchor{gnat_rm/implementation_defined_attributes id1}@anchor{179}@anchor{gnat_rm/implementation_defined_attributes implementation-defined-attributes}@anchor{8} +@anchor{gnat_rm/implementation_defined_attributes doc}@anchor{17b}@anchor{gnat_rm/implementation_defined_attributes id1}@anchor{17c}@anchor{gnat_rm/implementation_defined_attributes implementation-defined-attributes}@anchor{8} @chapter Implementation Defined Attributes @@ -10535,7 +10589,7 @@ consideration, you should minimize the use of these attributes. @end menu @node Attribute Abort_Signal,Attribute Address_Size,,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-abort-signal}@anchor{17a} +@anchor{gnat_rm/implementation_defined_attributes attribute-abort-signal}@anchor{17d} @section Attribute Abort_Signal @@ -10549,7 +10603,7 @@ completely outside the normal semantics of Ada, for a user program to intercept the abort exception). @node Attribute Address_Size,Attribute Asm_Input,Attribute Abort_Signal,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-address-size}@anchor{17b} +@anchor{gnat_rm/implementation_defined_attributes attribute-address-size}@anchor{17e} @section Attribute Address_Size @@ -10565,7 +10619,7 @@ reference to System.Address’Size is nonstatic because Address is a private type. @node Attribute Asm_Input,Attribute Asm_Output,Attribute Address_Size,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-asm-input}@anchor{17c} +@anchor{gnat_rm/implementation_defined_attributes attribute-asm-input}@anchor{17f} @section Attribute Asm_Input @@ -10579,10 +10633,10 @@ to be a static expression, and is the constraint for the parameter, value to be used as the input argument. The possible values for the constant are the same as those used in the RTL, and are dependent on the configuration file used to built the GCC back end. -@ref{17d,,Machine Code Insertions} +@ref{180,,Machine Code Insertions} @node Attribute Asm_Output,Attribute Atomic_Always_Lock_Free,Attribute Asm_Input,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-asm-output}@anchor{17e} +@anchor{gnat_rm/implementation_defined_attributes attribute-asm-output}@anchor{181} @section Attribute Asm_Output @@ -10598,10 +10652,10 @@ result. The possible values for constraint are the same as those used in the RTL, and are dependent on the configuration file used to build the GCC back end. If there are no output operands, then this argument may either be omitted, or explicitly given as @code{No_Output_Operands}. -@ref{17d,,Machine Code Insertions} +@ref{180,,Machine Code Insertions} @node Attribute Atomic_Always_Lock_Free,Attribute Bit,Attribute Asm_Output,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-atomic-always-lock-free}@anchor{17f} +@anchor{gnat_rm/implementation_defined_attributes attribute-atomic-always-lock-free}@anchor{182} @section Attribute Atomic_Always_Lock_Free @@ -10612,7 +10666,7 @@ result indicates whether atomic operations are supported by the target for the given type. @node Attribute Bit,Attribute Bit_Position,Attribute Atomic_Always_Lock_Free,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-bit}@anchor{180} +@anchor{gnat_rm/implementation_defined_attributes attribute-bit}@anchor{183} @section Attribute Bit @@ -10643,7 +10697,7 @@ This attribute is designed to be compatible with the DEC Ada 83 definition and implementation of the @code{Bit} attribute. @node Attribute Bit_Position,Attribute Code_Address,Attribute Bit,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-bit-position}@anchor{181} +@anchor{gnat_rm/implementation_defined_attributes attribute-bit-position}@anchor{184} @section Attribute Bit_Position @@ -10658,7 +10712,7 @@ type `universal_integer'. The value depends only on the field the containing record @code{R}. @node Attribute Code_Address,Attribute Compiler_Version,Attribute Bit_Position,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-code-address}@anchor{182} +@anchor{gnat_rm/implementation_defined_attributes attribute-code-address}@anchor{185} @section Attribute Code_Address @@ -10701,7 +10755,7 @@ the same value as is returned by the corresponding @code{'Address} attribute. @node Attribute Compiler_Version,Attribute Constrained,Attribute Code_Address,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-compiler-version}@anchor{183} +@anchor{gnat_rm/implementation_defined_attributes attribute-compiler-version}@anchor{186} @section Attribute Compiler_Version @@ -10712,7 +10766,7 @@ prefix) yields a static string identifying the version of the compiler being used to compile the unit containing the attribute reference. @node Attribute Constrained,Attribute Default_Bit_Order,Attribute Compiler_Version,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-constrained}@anchor{184} +@anchor{gnat_rm/implementation_defined_attributes attribute-constrained}@anchor{187} @section Attribute Constrained @@ -10727,7 +10781,7 @@ record type without discriminants is always @code{True}. This usage is compatible with older Ada compilers, including notably DEC Ada. @node Attribute Default_Bit_Order,Attribute Default_Scalar_Storage_Order,Attribute Constrained,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-default-bit-order}@anchor{185} +@anchor{gnat_rm/implementation_defined_attributes attribute-default-bit-order}@anchor{188} @section Attribute Default_Bit_Order @@ -10744,7 +10798,7 @@ as a @code{Pos} value (0 for @code{High_Order_First}, 1 for @code{Default_Bit_Order} in package @code{System}. @node Attribute Default_Scalar_Storage_Order,Attribute Deref,Attribute Default_Bit_Order,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-default-scalar-storage-order}@anchor{186} +@anchor{gnat_rm/implementation_defined_attributes attribute-default-scalar-storage-order}@anchor{189} @section Attribute Default_Scalar_Storage_Order @@ -10761,7 +10815,7 @@ equal to @code{Default_Bit_Order} if unspecified) as a @code{System.Bit_Order} value. This is a static attribute. @node Attribute Deref,Attribute Descriptor_Size,Attribute Default_Scalar_Storage_Order,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-deref}@anchor{187} +@anchor{gnat_rm/implementation_defined_attributes attribute-deref}@anchor{18a} @section Attribute Deref @@ -10774,7 +10828,7 @@ a named access-to-@cite{typ} type, except that it yields a variable, so it can b used on the left side of an assignment. @node Attribute Descriptor_Size,Attribute Elaborated,Attribute Deref,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-descriptor-size}@anchor{188} +@anchor{gnat_rm/implementation_defined_attributes attribute-descriptor-size}@anchor{18b} @section Attribute Descriptor_Size @@ -10803,7 +10857,7 @@ since @code{Positive} has an alignment of 4, the size of the descriptor is which yields a size of 32 bits, i.e. including 16 bits of padding. @node Attribute Elaborated,Attribute Elab_Body,Attribute Descriptor_Size,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-elaborated}@anchor{189} +@anchor{gnat_rm/implementation_defined_attributes attribute-elaborated}@anchor{18c} @section Attribute Elaborated @@ -10818,7 +10872,7 @@ units has been completed. An exception is for units which need no elaboration, the value is always False for such units. @node Attribute Elab_Body,Attribute Elab_Spec,Attribute Elaborated,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-elab-body}@anchor{18a} +@anchor{gnat_rm/implementation_defined_attributes attribute-elab-body}@anchor{18d} @section Attribute Elab_Body @@ -10834,7 +10888,7 @@ e.g., if it is necessary to do selective re-elaboration to fix some error. @node Attribute Elab_Spec,Attribute Elab_Subp_Body,Attribute Elab_Body,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-elab-spec}@anchor{18b} +@anchor{gnat_rm/implementation_defined_attributes attribute-elab-spec}@anchor{18e} @section Attribute Elab_Spec @@ -10850,7 +10904,7 @@ Ada code, e.g., if it is necessary to do selective re-elaboration to fix some error. @node Attribute Elab_Subp_Body,Attribute Emax,Attribute Elab_Spec,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-elab-subp-body}@anchor{18c} +@anchor{gnat_rm/implementation_defined_attributes attribute-elab-subp-body}@anchor{18f} @section Attribute Elab_Subp_Body @@ -10864,7 +10918,7 @@ elaboration procedure by the binder in CodePeer mode only and is unrecognized otherwise. @node Attribute Emax,Attribute Enabled,Attribute Elab_Subp_Body,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-emax}@anchor{18d} +@anchor{gnat_rm/implementation_defined_attributes attribute-emax}@anchor{190} @section Attribute Emax @@ -10877,7 +10931,7 @@ the Ada 83 reference manual for an exact description of the semantics of this attribute. @node Attribute Enabled,Attribute Enum_Rep,Attribute Emax,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-enabled}@anchor{18e} +@anchor{gnat_rm/implementation_defined_attributes attribute-enabled}@anchor{191} @section Attribute Enabled @@ -10901,7 +10955,7 @@ a @code{pragma Suppress} or @code{pragma Unsuppress} before instantiating the package or subprogram, controlling whether the check will be present. @node Attribute Enum_Rep,Attribute Enum_Val,Attribute Enabled,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-enum-rep}@anchor{18f} +@anchor{gnat_rm/implementation_defined_attributes attribute-enum-rep}@anchor{192} @section Attribute Enum_Rep @@ -10941,7 +10995,7 @@ integer calculation is done at run time, then the call to @code{Enum_Rep} may raise @code{Constraint_Error}. @node Attribute Enum_Val,Attribute Epsilon,Attribute Enum_Rep,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-enum-val}@anchor{190} +@anchor{gnat_rm/implementation_defined_attributes attribute-enum-val}@anchor{193} @section Attribute Enum_Val @@ -10967,7 +11021,7 @@ absence of an enumeration representation clause. This is a static attribute (i.e., the result is static if the argument is static). @node Attribute Epsilon,Attribute Fast_Math,Attribute Enum_Val,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-epsilon}@anchor{191} +@anchor{gnat_rm/implementation_defined_attributes attribute-epsilon}@anchor{194} @section Attribute Epsilon @@ -10980,7 +11034,7 @@ the Ada 83 reference manual for an exact description of the semantics of this attribute. @node Attribute Fast_Math,Attribute Finalization_Size,Attribute Epsilon,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-fast-math}@anchor{192} +@anchor{gnat_rm/implementation_defined_attributes attribute-fast-math}@anchor{195} @section Attribute Fast_Math @@ -10991,7 +11045,7 @@ prefix) yields a static Boolean value that is True if pragma @code{Fast_Math} is active, and False otherwise. @node Attribute Finalization_Size,Attribute Fixed_Value,Attribute Fast_Math,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-finalization-size}@anchor{193} +@anchor{gnat_rm/implementation_defined_attributes attribute-finalization-size}@anchor{196} @section Attribute Finalization_Size @@ -11009,7 +11063,7 @@ class-wide type whose tag denotes a type with no controlled parts. Note that only heap-allocated objects contain finalization data. @node Attribute Fixed_Value,Attribute From_Any,Attribute Finalization_Size,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-fixed-value}@anchor{194} +@anchor{gnat_rm/implementation_defined_attributes attribute-fixed-value}@anchor{197} @section Attribute Fixed_Value @@ -11036,7 +11090,7 @@ This attribute is primarily intended for use in implementation of the input-output functions for fixed-point values. @node Attribute From_Any,Attribute Has_Access_Values,Attribute Fixed_Value,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-from-any}@anchor{195} +@anchor{gnat_rm/implementation_defined_attributes attribute-from-any}@anchor{198} @section Attribute From_Any @@ -11046,7 +11100,7 @@ This internal attribute is used for the generation of remote subprogram stubs in the context of the Distributed Systems Annex. @node Attribute Has_Access_Values,Attribute Has_Discriminants,Attribute From_Any,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-has-access-values}@anchor{196} +@anchor{gnat_rm/implementation_defined_attributes attribute-has-access-values}@anchor{199} @section Attribute Has_Access_Values @@ -11064,7 +11118,7 @@ definitions. If the attribute is applied to a generic private type, it indicates whether or not the corresponding actual type has access values. @node Attribute Has_Discriminants,Attribute Has_Tagged_Values,Attribute Has_Access_Values,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-has-discriminants}@anchor{197} +@anchor{gnat_rm/implementation_defined_attributes attribute-has-discriminants}@anchor{19a} @section Attribute Has_Discriminants @@ -11080,7 +11134,7 @@ definitions. If the attribute is applied to a generic private type, it indicates whether or not the corresponding actual type has discriminants. @node Attribute Has_Tagged_Values,Attribute Img,Attribute Has_Discriminants,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-has-tagged-values}@anchor{198} +@anchor{gnat_rm/implementation_defined_attributes attribute-has-tagged-values}@anchor{19b} @section Attribute Has_Tagged_Values @@ -11097,7 +11151,7 @@ definitions. If the attribute is applied to a generic private type, it indicates whether or not the corresponding actual type has access values. @node Attribute Img,Attribute Initialized,Attribute Has_Tagged_Values,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-img}@anchor{199} +@anchor{gnat_rm/implementation_defined_attributes attribute-img}@anchor{19c} @section Attribute Img @@ -11127,7 +11181,7 @@ that returns the appropriate string when called. This means that in an instantiation as a function parameter. @node Attribute Initialized,Attribute Integer_Value,Attribute Img,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-initialized}@anchor{19a} +@anchor{gnat_rm/implementation_defined_attributes attribute-initialized}@anchor{19d} @section Attribute Initialized @@ -11137,7 +11191,7 @@ For the syntax and semantics of this attribute, see the SPARK 2014 Reference Manual, section 6.10. @node Attribute Integer_Value,Attribute Invalid_Value,Attribute Initialized,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-integer-value}@anchor{19b} +@anchor{gnat_rm/implementation_defined_attributes attribute-integer-value}@anchor{19e} @section Attribute Integer_Value @@ -11165,7 +11219,7 @@ This attribute is primarily intended for use in implementation of the standard input-output functions for fixed-point values. @node Attribute Invalid_Value,Attribute Large,Attribute Integer_Value,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-invalid-value}@anchor{19c} +@anchor{gnat_rm/implementation_defined_attributes attribute-invalid-value}@anchor{19f} @section Attribute Invalid_Value @@ -11179,7 +11233,7 @@ including the ability to modify the value with the binder -Sxx flag and relevant environment variables at run time. @node Attribute Large,Attribute Library_Level,Attribute Invalid_Value,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-large}@anchor{19d} +@anchor{gnat_rm/implementation_defined_attributes attribute-large}@anchor{1a0} @section Attribute Large @@ -11192,7 +11246,7 @@ the Ada 83 reference manual for an exact description of the semantics of this attribute. @node Attribute Library_Level,Attribute Loop_Entry,Attribute Large,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-library-level}@anchor{19e} +@anchor{gnat_rm/implementation_defined_attributes attribute-library-level}@anchor{1a1} @section Attribute Library_Level @@ -11218,7 +11272,7 @@ end Gen; @end example @node Attribute Loop_Entry,Attribute Machine_Size,Attribute Library_Level,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-loop-entry}@anchor{19f} +@anchor{gnat_rm/implementation_defined_attributes attribute-loop-entry}@anchor{1a2} @section Attribute Loop_Entry @@ -11251,7 +11305,7 @@ entry. This copy is not performed if the loop is not entered, or if the corresponding pragmas are ignored or disabled. @node Attribute Machine_Size,Attribute Mantissa,Attribute Loop_Entry,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-machine-size}@anchor{1a0} +@anchor{gnat_rm/implementation_defined_attributes attribute-machine-size}@anchor{1a3} @section Attribute Machine_Size @@ -11261,7 +11315,7 @@ This attribute is identical to the @code{Object_Size} attribute. It is provided for compatibility with the DEC Ada 83 attribute of this name. @node Attribute Mantissa,Attribute Maximum_Alignment,Attribute Machine_Size,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-mantissa}@anchor{1a1} +@anchor{gnat_rm/implementation_defined_attributes attribute-mantissa}@anchor{1a4} @section Attribute Mantissa @@ -11274,7 +11328,7 @@ the Ada 83 reference manual for an exact description of the semantics of this attribute. @node Attribute Maximum_Alignment,Attribute Max_Integer_Size,Attribute Mantissa,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-maximum-alignment}@anchor{1a2}@anchor{gnat_rm/implementation_defined_attributes id2}@anchor{1a3} +@anchor{gnat_rm/implementation_defined_attributes attribute-maximum-alignment}@anchor{1a5}@anchor{gnat_rm/implementation_defined_attributes id2}@anchor{1a6} @section Attribute Maximum_Alignment @@ -11290,7 +11344,7 @@ for an object, guaranteeing that it is properly aligned in all cases. @node Attribute Max_Integer_Size,Attribute Mechanism_Code,Attribute Maximum_Alignment,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-max-integer-size}@anchor{1a4} +@anchor{gnat_rm/implementation_defined_attributes attribute-max-integer-size}@anchor{1a7} @section Attribute Max_Integer_Size @@ -11301,7 +11355,7 @@ prefix) provides the size of the largest supported integer type for the target. The result is a static constant. @node Attribute Mechanism_Code,Attribute Null_Parameter,Attribute Max_Integer_Size,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-mechanism-code}@anchor{1a5} +@anchor{gnat_rm/implementation_defined_attributes attribute-mechanism-code}@anchor{1a8} @section Attribute Mechanism_Code @@ -11332,7 +11386,7 @@ by reference @end table @node Attribute Null_Parameter,Attribute Object_Size,Attribute Mechanism_Code,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-null-parameter}@anchor{1a6} +@anchor{gnat_rm/implementation_defined_attributes attribute-null-parameter}@anchor{1a9} @section Attribute Null_Parameter @@ -11357,7 +11411,7 @@ There is no way of indicating this without the @code{Null_Parameter} attribute. @node Attribute Object_Size,Attribute Old,Attribute Null_Parameter,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-object-size}@anchor{155}@anchor{gnat_rm/implementation_defined_attributes id3}@anchor{1a7} +@anchor{gnat_rm/implementation_defined_attributes attribute-object-size}@anchor{157}@anchor{gnat_rm/implementation_defined_attributes id3}@anchor{1aa} @section Attribute Object_Size @@ -11427,7 +11481,7 @@ Similar additional checks are performed in other contexts requiring statically matching subtypes. @node Attribute Old,Attribute Passed_By_Reference,Attribute Object_Size,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-old}@anchor{1a8} +@anchor{gnat_rm/implementation_defined_attributes attribute-old}@anchor{1ab} @section Attribute Old @@ -11442,7 +11496,7 @@ definition are allowed under control of implementation defined pragma @code{Unevaluated_Use_Of_Old}. @node Attribute Passed_By_Reference,Attribute Pool_Address,Attribute Old,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-passed-by-reference}@anchor{1a9} +@anchor{gnat_rm/implementation_defined_attributes attribute-passed-by-reference}@anchor{1ac} @section Attribute Passed_By_Reference @@ -11458,7 +11512,7 @@ passed by copy in calls. For scalar types, the result is always @code{False} and is static. For non-scalar types, the result is nonstatic. @node Attribute Pool_Address,Attribute Range_Length,Attribute Passed_By_Reference,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-pool-address}@anchor{1aa} +@anchor{gnat_rm/implementation_defined_attributes attribute-pool-address}@anchor{1ad} @section Attribute Pool_Address @@ -11480,7 +11534,7 @@ For an object created by @code{new}, @code{Ptr.all'Pool_Address} is what is passed to @code{Allocate} and returned from @code{Deallocate}. @node Attribute Range_Length,Attribute Restriction_Set,Attribute Pool_Address,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-range-length}@anchor{1ab} +@anchor{gnat_rm/implementation_defined_attributes attribute-range-length}@anchor{1ae} @section Attribute Range_Length @@ -11493,7 +11547,7 @@ applied to the index subtype of a one dimensional array always gives the same result as @code{Length} applied to the array itself. @node Attribute Restriction_Set,Attribute Result,Attribute Range_Length,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-restriction-set}@anchor{1ac} +@anchor{gnat_rm/implementation_defined_attributes attribute-restriction-set}@anchor{1af} @section Attribute Restriction_Set @@ -11563,7 +11617,7 @@ Restrictions pragma, they are not analyzed semantically, so they do not have a type. @node Attribute Result,Attribute Round,Attribute Restriction_Set,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-result}@anchor{1ad} +@anchor{gnat_rm/implementation_defined_attributes attribute-result}@anchor{1b0} @section Attribute Result @@ -11576,7 +11630,7 @@ For a further discussion of the use of this attribute and examples of its use, see the description of pragma Postcondition. @node Attribute Round,Attribute Safe_Emax,Attribute Result,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-round}@anchor{1ae} +@anchor{gnat_rm/implementation_defined_attributes attribute-round}@anchor{1b1} @section Attribute Round @@ -11587,7 +11641,7 @@ also permits the use of the @code{'Round} attribute for ordinary fixed point types. @node Attribute Safe_Emax,Attribute Safe_Large,Attribute Round,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-safe-emax}@anchor{1af} +@anchor{gnat_rm/implementation_defined_attributes attribute-safe-emax}@anchor{1b2} @section Attribute Safe_Emax @@ -11600,7 +11654,7 @@ the Ada 83 reference manual for an exact description of the semantics of this attribute. @node Attribute Safe_Large,Attribute Safe_Small,Attribute Safe_Emax,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-safe-large}@anchor{1b0} +@anchor{gnat_rm/implementation_defined_attributes attribute-safe-large}@anchor{1b3} @section Attribute Safe_Large @@ -11613,7 +11667,7 @@ the Ada 83 reference manual for an exact description of the semantics of this attribute. @node Attribute Safe_Small,Attribute Scalar_Storage_Order,Attribute Safe_Large,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-safe-small}@anchor{1b1} +@anchor{gnat_rm/implementation_defined_attributes attribute-safe-small}@anchor{1b4} @section Attribute Safe_Small @@ -11626,7 +11680,7 @@ the Ada 83 reference manual for an exact description of the semantics of this attribute. @node Attribute Scalar_Storage_Order,Attribute Simple_Storage_Pool,Attribute Safe_Small,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-scalar-storage-order}@anchor{162}@anchor{gnat_rm/implementation_defined_attributes id4}@anchor{1b2} +@anchor{gnat_rm/implementation_defined_attributes attribute-scalar-storage-order}@anchor{165}@anchor{gnat_rm/implementation_defined_attributes id4}@anchor{1b5} @section Attribute Scalar_Storage_Order @@ -11789,7 +11843,7 @@ Note that debuggers may be unable to display the correct value of scalar components of a type for which the opposite storage order is specified. @node Attribute Simple_Storage_Pool,Attribute Small,Attribute Scalar_Storage_Order,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-simple-storage-pool}@anchor{f0}@anchor{gnat_rm/implementation_defined_attributes id5}@anchor{1b3} +@anchor{gnat_rm/implementation_defined_attributes attribute-simple-storage-pool}@anchor{f2}@anchor{gnat_rm/implementation_defined_attributes id5}@anchor{1b6} @section Attribute Simple_Storage_Pool @@ -11852,7 +11906,7 @@ as defined in section 13.11.2 of the Ada Reference Manual, except that the term `simple storage pool' is substituted for `storage pool'. @node Attribute Small,Attribute Small_Denominator,Attribute Simple_Storage_Pool,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-small}@anchor{1b4} +@anchor{gnat_rm/implementation_defined_attributes attribute-small}@anchor{1b7} @section Attribute Small @@ -11868,7 +11922,7 @@ the Ada 83 reference manual for an exact description of the semantics of this attribute when applied to floating-point types. @node Attribute Small_Denominator,Attribute Small_Numerator,Attribute Small,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-small-denominator}@anchor{1b5} +@anchor{gnat_rm/implementation_defined_attributes attribute-small-denominator}@anchor{1b8} @section Attribute Small_Denominator @@ -11881,7 +11935,7 @@ denominator in the representation of @code{typ'Small} as a rational number with coprime factors (i.e. as an irreducible fraction). @node Attribute Small_Numerator,Attribute Storage_Unit,Attribute Small_Denominator,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-small-numerator}@anchor{1b6} +@anchor{gnat_rm/implementation_defined_attributes attribute-small-numerator}@anchor{1b9} @section Attribute Small_Numerator @@ -11894,7 +11948,7 @@ numerator in the representation of @code{typ'Small} as a rational number with coprime factors (i.e. as an irreducible fraction). @node Attribute Storage_Unit,Attribute Stub_Type,Attribute Small_Numerator,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-storage-unit}@anchor{1b7} +@anchor{gnat_rm/implementation_defined_attributes attribute-storage-unit}@anchor{1ba} @section Attribute Storage_Unit @@ -11904,7 +11958,7 @@ with coprime factors (i.e. as an irreducible fraction). prefix) provides the same value as @code{System.Storage_Unit}. @node Attribute Stub_Type,Attribute System_Allocator_Alignment,Attribute Storage_Unit,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-stub-type}@anchor{1b8} +@anchor{gnat_rm/implementation_defined_attributes attribute-stub-type}@anchor{1bb} @section Attribute Stub_Type @@ -11928,7 +11982,7 @@ unit @code{System.Partition_Interface}. Use of this attribute will create an implicit dependency on this unit. @node Attribute System_Allocator_Alignment,Attribute Target_Name,Attribute Stub_Type,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-system-allocator-alignment}@anchor{1b9} +@anchor{gnat_rm/implementation_defined_attributes attribute-system-allocator-alignment}@anchor{1bc} @section Attribute System_Allocator_Alignment @@ -11945,7 +11999,7 @@ with alignment too large or to enable a realignment circuitry if the alignment request is larger than this value. @node Attribute Target_Name,Attribute To_Address,Attribute System_Allocator_Alignment,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-target-name}@anchor{1ba} +@anchor{gnat_rm/implementation_defined_attributes attribute-target-name}@anchor{1bd} @section Attribute Target_Name @@ -11958,7 +12012,7 @@ standard gcc target name without the terminating slash (for example, GNAT 5.0 on windows yields “i586-pc-mingw32msv”). @node Attribute To_Address,Attribute To_Any,Attribute Target_Name,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-to-address}@anchor{1bb} +@anchor{gnat_rm/implementation_defined_attributes attribute-to-address}@anchor{1be} @section Attribute To_Address @@ -11981,7 +12035,7 @@ modular manner (e.g., -1 means the same as 16#FFFF_FFFF# on a 32 bits machine). @node Attribute To_Any,Attribute Type_Class,Attribute To_Address,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-to-any}@anchor{1bc} +@anchor{gnat_rm/implementation_defined_attributes attribute-to-any}@anchor{1bf} @section Attribute To_Any @@ -11991,7 +12045,7 @@ This internal attribute is used for the generation of remote subprogram stubs in the context of the Distributed Systems Annex. @node Attribute Type_Class,Attribute Type_Key,Attribute To_Any,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-type-class}@anchor{1bd} +@anchor{gnat_rm/implementation_defined_attributes attribute-type-class}@anchor{1c0} @section Attribute Type_Class @@ -12021,7 +12075,7 @@ applies to all concurrent types. This attribute is designed to be compatible with the DEC Ada 83 attribute of the same name. @node Attribute Type_Key,Attribute TypeCode,Attribute Type_Class,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-type-key}@anchor{1be} +@anchor{gnat_rm/implementation_defined_attributes attribute-type-key}@anchor{1c1} @section Attribute Type_Key @@ -12033,7 +12087,7 @@ about the type or subtype. This provides improved compatibility with other implementations that support this attribute. @node Attribute TypeCode,Attribute Unconstrained_Array,Attribute Type_Key,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-typecode}@anchor{1bf} +@anchor{gnat_rm/implementation_defined_attributes attribute-typecode}@anchor{1c2} @section Attribute TypeCode @@ -12043,7 +12097,7 @@ This internal attribute is used for the generation of remote subprogram stubs in the context of the Distributed Systems Annex. @node Attribute Unconstrained_Array,Attribute Universal_Literal_String,Attribute TypeCode,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-unconstrained-array}@anchor{1c0} +@anchor{gnat_rm/implementation_defined_attributes attribute-unconstrained-array}@anchor{1c3} @section Attribute Unconstrained_Array @@ -12057,7 +12111,7 @@ still static, and yields the result of applying this test to the generic actual. @node Attribute Universal_Literal_String,Attribute Unrestricted_Access,Attribute Unconstrained_Array,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-universal-literal-string}@anchor{1c1} +@anchor{gnat_rm/implementation_defined_attributes attribute-universal-literal-string}@anchor{1c4} @section Attribute Universal_Literal_String @@ -12085,7 +12139,7 @@ end; @end example @node Attribute Unrestricted_Access,Attribute Update,Attribute Universal_Literal_String,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-unrestricted-access}@anchor{1c2} +@anchor{gnat_rm/implementation_defined_attributes attribute-unrestricted-access}@anchor{1c5} @section Attribute Unrestricted_Access @@ -12272,7 +12326,7 @@ In general this is a risky approach. It may appear to “work” but such uses o of GNAT to another, so are best avoided if possible. @node Attribute Update,Attribute Valid_Value,Attribute Unrestricted_Access,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-update}@anchor{1c3} +@anchor{gnat_rm/implementation_defined_attributes attribute-update}@anchor{1c6} @section Attribute Update @@ -12353,19 +12407,19 @@ A := A'Update ((1, 2) => 20, (3, 4) => 30); which changes element (1,2) to 20 and (3,4) to 30. @node Attribute Valid_Value,Attribute Valid_Scalars,Attribute Update,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-valid-value}@anchor{1c4} +@anchor{gnat_rm/implementation_defined_attributes attribute-valid-value}@anchor{1c7} @section Attribute Valid_Value @geindex Valid_Value The @code{'Valid_Value} attribute is defined for enumeration types other than -those in package Standard. This attribute is a function that takes -a String, and returns Boolean. @code{T'Valid_Value (S)} returns True -if and only if @code{T'Value (S)} would not raise Constraint_Error. +those in package Standard or types derived from those types. This attribute is +a function that takes a String, and returns Boolean. @code{T'Valid_Value (S)} +returns True if and only if @code{T'Value (S)} would not raise Constraint_Error. @node Attribute Valid_Scalars,Attribute VADS_Size,Attribute Valid_Value,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-valid-scalars}@anchor{1c5} +@anchor{gnat_rm/implementation_defined_attributes attribute-valid-scalars}@anchor{1c8} @section Attribute Valid_Scalars @@ -12399,7 +12453,7 @@ write a function with a single use of the attribute, and then call that function from multiple places. @node Attribute VADS_Size,Attribute Value_Size,Attribute Valid_Scalars,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-vads-size}@anchor{1c6} +@anchor{gnat_rm/implementation_defined_attributes attribute-vads-size}@anchor{1c9} @section Attribute VADS_Size @@ -12419,7 +12473,7 @@ gives the result that would be obtained by applying the attribute to the corresponding type. @node Attribute Value_Size,Attribute Wchar_T_Size,Attribute VADS_Size,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-value-size}@anchor{174}@anchor{gnat_rm/implementation_defined_attributes id6}@anchor{1c7} +@anchor{gnat_rm/implementation_defined_attributes attribute-value-size}@anchor{177}@anchor{gnat_rm/implementation_defined_attributes id6}@anchor{1ca} @section Attribute Value_Size @@ -12433,7 +12487,7 @@ a value of the given subtype. It is the same as @code{type'Size}, but, unlike @code{Size}, may be set for non-first subtypes. @node Attribute Wchar_T_Size,Attribute Word_Size,Attribute Value_Size,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-wchar-t-size}@anchor{1c8} +@anchor{gnat_rm/implementation_defined_attributes attribute-wchar-t-size}@anchor{1cb} @section Attribute Wchar_T_Size @@ -12445,7 +12499,7 @@ primarily for constructing the definition of this type in package @code{Interfaces.C}. The result is a static constant. @node Attribute Word_Size,,Attribute Wchar_T_Size,Implementation Defined Attributes -@anchor{gnat_rm/implementation_defined_attributes attribute-word-size}@anchor{1c9} +@anchor{gnat_rm/implementation_defined_attributes attribute-word-size}@anchor{1cc} @section Attribute Word_Size @@ -12456,7 +12510,7 @@ prefix) provides the value @code{System.Word_Size}. The result is a static constant. @node Standard and Implementation Defined Restrictions,Implementation Advice,Implementation Defined Attributes,Top -@anchor{gnat_rm/standard_and_implementation_defined_restrictions doc}@anchor{1ca}@anchor{gnat_rm/standard_and_implementation_defined_restrictions id1}@anchor{1cb}@anchor{gnat_rm/standard_and_implementation_defined_restrictions standard-and-implementation-defined-restrictions}@anchor{9} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions doc}@anchor{1cd}@anchor{gnat_rm/standard_and_implementation_defined_restrictions id1}@anchor{1ce}@anchor{gnat_rm/standard_and_implementation_defined_restrictions standard-and-implementation-defined-restrictions}@anchor{9} @chapter Standard and Implementation Defined Restrictions @@ -12485,7 +12539,7 @@ language defined or GNAT-specific, are listed in the following. @end menu @node Partition-Wide Restrictions,Program Unit Level Restrictions,,Standard and Implementation Defined Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions id2}@anchor{1cc}@anchor{gnat_rm/standard_and_implementation_defined_restrictions partition-wide-restrictions}@anchor{1cd} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions id2}@anchor{1cf}@anchor{gnat_rm/standard_and_implementation_defined_restrictions partition-wide-restrictions}@anchor{1d0} @section Partition-Wide Restrictions @@ -12578,7 +12632,7 @@ then all compilation units in the partition must obey the restriction). @end menu @node Immediate_Reclamation,Max_Asynchronous_Select_Nesting,,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions immediate-reclamation}@anchor{1ce} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions immediate-reclamation}@anchor{1d1} @subsection Immediate_Reclamation @@ -12590,7 +12644,7 @@ deallocation, any storage reserved at run time for an object is immediately reclaimed when the object no longer exists. @node Max_Asynchronous_Select_Nesting,Max_Entry_Queue_Length,Immediate_Reclamation,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions max-asynchronous-select-nesting}@anchor{1cf} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions max-asynchronous-select-nesting}@anchor{1d2} @subsection Max_Asynchronous_Select_Nesting @@ -12602,7 +12656,7 @@ detected at compile time. Violations of this restriction with values other than zero cause Storage_Error to be raised. @node Max_Entry_Queue_Length,Max_Protected_Entries,Max_Asynchronous_Select_Nesting,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions max-entry-queue-length}@anchor{1d0} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions max-entry-queue-length}@anchor{1d3} @subsection Max_Entry_Queue_Length @@ -12623,7 +12677,7 @@ compatibility purposes (and a warning will be generated for its use if warnings on obsolescent features are activated). @node Max_Protected_Entries,Max_Select_Alternatives,Max_Entry_Queue_Length,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions max-protected-entries}@anchor{1d1} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions max-protected-entries}@anchor{1d4} @subsection Max_Protected_Entries @@ -12634,7 +12688,7 @@ bounds of every entry family of a protected unit shall be static, or shall be defined by a discriminant of a subtype whose corresponding bound is static. @node Max_Select_Alternatives,Max_Storage_At_Blocking,Max_Protected_Entries,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions max-select-alternatives}@anchor{1d2} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions max-select-alternatives}@anchor{1d5} @subsection Max_Select_Alternatives @@ -12643,7 +12697,7 @@ defined by a discriminant of a subtype whose corresponding bound is static. [RM D.7] Specifies the maximum number of alternatives in a selective accept. @node Max_Storage_At_Blocking,Max_Task_Entries,Max_Select_Alternatives,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions max-storage-at-blocking}@anchor{1d3} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions max-storage-at-blocking}@anchor{1d6} @subsection Max_Storage_At_Blocking @@ -12654,7 +12708,7 @@ Storage_Size that can be retained by a blocked task. A violation of this restriction causes Storage_Error to be raised. @node Max_Task_Entries,Max_Tasks,Max_Storage_At_Blocking,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions max-task-entries}@anchor{1d4} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions max-task-entries}@anchor{1d7} @subsection Max_Task_Entries @@ -12667,7 +12721,7 @@ defined by a discriminant of a subtype whose corresponding bound is static. @node Max_Tasks,No_Abort_Statements,Max_Task_Entries,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions max-tasks}@anchor{1d5} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions max-tasks}@anchor{1d8} @subsection Max_Tasks @@ -12680,7 +12734,7 @@ time. Violations of this restriction with values other than zero cause Storage_Error to be raised. @node No_Abort_Statements,No_Access_Parameter_Allocators,Max_Tasks,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-abort-statements}@anchor{1d6} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-abort-statements}@anchor{1d9} @subsection No_Abort_Statements @@ -12690,7 +12744,7 @@ Storage_Error to be raised. no calls to Task_Identification.Abort_Task. @node No_Access_Parameter_Allocators,No_Access_Subprograms,No_Abort_Statements,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-access-parameter-allocators}@anchor{1d7} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-access-parameter-allocators}@anchor{1da} @subsection No_Access_Parameter_Allocators @@ -12701,7 +12755,7 @@ occurrences of an allocator as the actual parameter to an access parameter. @node No_Access_Subprograms,No_Allocators,No_Access_Parameter_Allocators,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-access-subprograms}@anchor{1d8} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-access-subprograms}@anchor{1db} @subsection No_Access_Subprograms @@ -12711,7 +12765,7 @@ parameter. declarations of access-to-subprogram types. @node No_Allocators,No_Anonymous_Allocators,No_Access_Subprograms,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-allocators}@anchor{1d9} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-allocators}@anchor{1dc} @subsection No_Allocators @@ -12721,7 +12775,7 @@ declarations of access-to-subprogram types. occurrences of an allocator. @node No_Anonymous_Allocators,No_Asynchronous_Control,No_Allocators,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-anonymous-allocators}@anchor{1da} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-anonymous-allocators}@anchor{1dd} @subsection No_Anonymous_Allocators @@ -12731,7 +12785,7 @@ occurrences of an allocator. occurrences of an allocator of anonymous access type. @node No_Asynchronous_Control,No_Calendar,No_Anonymous_Allocators,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-asynchronous-control}@anchor{1db} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-asynchronous-control}@anchor{1de} @subsection No_Asynchronous_Control @@ -12741,7 +12795,7 @@ occurrences of an allocator of anonymous access type. dependences on the predefined package Asynchronous_Task_Control. @node No_Calendar,No_Coextensions,No_Asynchronous_Control,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-calendar}@anchor{1dc} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-calendar}@anchor{1df} @subsection No_Calendar @@ -12751,7 +12805,7 @@ dependences on the predefined package Asynchronous_Task_Control. dependences on package Calendar. @node No_Coextensions,No_Default_Initialization,No_Calendar,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-coextensions}@anchor{1dd} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-coextensions}@anchor{1e0} @subsection No_Coextensions @@ -12761,7 +12815,7 @@ dependences on package Calendar. coextensions. See 3.10.2. @node No_Default_Initialization,No_Delay,No_Coextensions,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-default-initialization}@anchor{1de} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-default-initialization}@anchor{1e1} @subsection No_Default_Initialization @@ -12778,7 +12832,7 @@ is to prohibit all cases of variables declared without a specific initializer (including the case of OUT scalar parameters). @node No_Delay,No_Dependence,No_Default_Initialization,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-delay}@anchor{1df} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-delay}@anchor{1e2} @subsection No_Delay @@ -12788,7 +12842,7 @@ initializer (including the case of OUT scalar parameters). delay statements and no semantic dependences on package Calendar. @node No_Dependence,No_Direct_Boolean_Operators,No_Delay,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-dependence}@anchor{1e0} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-dependence}@anchor{1e3} @subsection No_Dependence @@ -12831,7 +12885,7 @@ to support specific constructs of the language. Here are some examples: @end itemize @node No_Direct_Boolean_Operators,No_Dispatch,No_Dependence,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-direct-boolean-operators}@anchor{1e1} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-direct-boolean-operators}@anchor{1e4} @subsection No_Direct_Boolean_Operators @@ -12844,7 +12898,7 @@ protocol requires the use of short-circuit (and then, or else) forms for all composite boolean operations. @node No_Dispatch,No_Dispatching_Calls,No_Direct_Boolean_Operators,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-dispatch}@anchor{1e2} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-dispatch}@anchor{1e5} @subsection No_Dispatch @@ -12854,7 +12908,7 @@ composite boolean operations. occurrences of @code{T'Class}, for any (tagged) subtype @code{T}. @node No_Dispatching_Calls,No_Dynamic_Attachment,No_Dispatch,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-dispatching-calls}@anchor{1e3} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-dispatching-calls}@anchor{1e6} @subsection No_Dispatching_Calls @@ -12915,7 +12969,7 @@ end Example; @end example @node No_Dynamic_Attachment,No_Dynamic_Priorities,No_Dispatching_Calls,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-dynamic-attachment}@anchor{1e4} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-dynamic-attachment}@anchor{1e7} @subsection No_Dynamic_Attachment @@ -12934,7 +12988,7 @@ compatibility purposes (and a warning will be generated for its use if warnings on obsolescent features are activated). @node No_Dynamic_Priorities,No_Entry_Calls_In_Elaboration_Code,No_Dynamic_Attachment,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-dynamic-priorities}@anchor{1e5} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-dynamic-priorities}@anchor{1e8} @subsection No_Dynamic_Priorities @@ -12943,7 +12997,7 @@ warnings on obsolescent features are activated). [RM D.7] There are no semantic dependencies on the package Dynamic_Priorities. @node No_Entry_Calls_In_Elaboration_Code,No_Enumeration_Maps,No_Dynamic_Priorities,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-entry-calls-in-elaboration-code}@anchor{1e6} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-entry-calls-in-elaboration-code}@anchor{1e9} @subsection No_Entry_Calls_In_Elaboration_Code @@ -12955,7 +13009,7 @@ restriction, the compiler can assume that no code past an accept statement in a task can be executed at elaboration time. @node No_Enumeration_Maps,No_Exception_Handlers,No_Entry_Calls_In_Elaboration_Code,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-enumeration-maps}@anchor{1e7} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-enumeration-maps}@anchor{1ea} @subsection No_Enumeration_Maps @@ -12966,7 +13020,7 @@ enumeration maps are used (that is Image and Value attributes applied to enumeration types). @node No_Exception_Handlers,No_Exception_Propagation,No_Enumeration_Maps,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-exception-handlers}@anchor{1e8} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-exception-handlers}@anchor{1eb} @subsection No_Exception_Handlers @@ -12991,7 +13045,7 @@ statement generated by the compiler). The Line parameter when nonzero represents the line number in the source program where the raise occurs. @node No_Exception_Propagation,No_Exception_Registration,No_Exception_Handlers,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-exception-propagation}@anchor{1e9} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-exception-propagation}@anchor{1ec} @subsection No_Exception_Propagation @@ -13008,7 +13062,7 @@ the package GNAT.Current_Exception is not permitted, and reraise statements (raise with no operand) are not permitted. @node No_Exception_Registration,No_Exceptions,No_Exception_Propagation,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-exception-registration}@anchor{1ea} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-exception-registration}@anchor{1ed} @subsection No_Exception_Registration @@ -13022,7 +13076,7 @@ code is simplified by omitting the otherwise-required global registration of exceptions when they are declared. @node No_Exceptions,No_Finalization,No_Exception_Registration,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-exceptions}@anchor{1eb} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-exceptions}@anchor{1ee} @subsection No_Exceptions @@ -13033,7 +13087,7 @@ raise statements and no exception handlers and also suppresses the generation of language-defined run-time checks. @node No_Finalization,No_Fixed_Point,No_Exceptions,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-finalization}@anchor{1ec} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-finalization}@anchor{1ef} @subsection No_Finalization @@ -13074,7 +13128,7 @@ object or a nested component, either declared on the stack or on the heap. The deallocation of a controlled object no longer finalizes its contents. @node No_Fixed_Point,No_Floating_Point,No_Finalization,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-fixed-point}@anchor{1ed} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-fixed-point}@anchor{1f0} @subsection No_Fixed_Point @@ -13084,7 +13138,7 @@ deallocation of a controlled object no longer finalizes its contents. occurrences of fixed point types and operations. @node No_Floating_Point,No_Implicit_Conditionals,No_Fixed_Point,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-floating-point}@anchor{1ee} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-floating-point}@anchor{1f1} @subsection No_Floating_Point @@ -13094,7 +13148,7 @@ occurrences of fixed point types and operations. occurrences of floating point types and operations. @node No_Implicit_Conditionals,No_Implicit_Dynamic_Code,No_Floating_Point,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implicit-conditionals}@anchor{1ef} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implicit-conditionals}@anchor{1f2} @subsection No_Implicit_Conditionals @@ -13110,7 +13164,7 @@ normal manner. Constructs generating implicit conditionals include comparisons of composite objects and the Max/Min attributes. @node No_Implicit_Dynamic_Code,No_Implicit_Heap_Allocations,No_Implicit_Conditionals,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implicit-dynamic-code}@anchor{1f0} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implicit-dynamic-code}@anchor{1f3} @subsection No_Implicit_Dynamic_Code @@ -13140,7 +13194,7 @@ foreign-language convention; primitive operations of nested tagged types. @node No_Implicit_Heap_Allocations,No_Implicit_Protected_Object_Allocations,No_Implicit_Dynamic_Code,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implicit-heap-allocations}@anchor{1f1} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implicit-heap-allocations}@anchor{1f4} @subsection No_Implicit_Heap_Allocations @@ -13149,7 +13203,7 @@ types. [RM D.7] No constructs are allowed to cause implicit heap allocation. @node No_Implicit_Protected_Object_Allocations,No_Implicit_Task_Allocations,No_Implicit_Heap_Allocations,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implicit-protected-object-allocations}@anchor{1f2} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implicit-protected-object-allocations}@anchor{1f5} @subsection No_Implicit_Protected_Object_Allocations @@ -13159,7 +13213,7 @@ types. protected object. @node No_Implicit_Task_Allocations,No_Initialize_Scalars,No_Implicit_Protected_Object_Allocations,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implicit-task-allocations}@anchor{1f3} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implicit-task-allocations}@anchor{1f6} @subsection No_Implicit_Task_Allocations @@ -13168,7 +13222,7 @@ protected object. [GNAT] No constructs are allowed to cause implicit heap allocation of a task. @node No_Initialize_Scalars,No_IO,No_Implicit_Task_Allocations,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-initialize-scalars}@anchor{1f4} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-initialize-scalars}@anchor{1f7} @subsection No_Initialize_Scalars @@ -13180,7 +13234,7 @@ code, and in particular eliminates dummy null initialization routines that are otherwise generated for some record and array types. @node No_IO,No_Local_Allocators,No_Initialize_Scalars,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-io}@anchor{1f5} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-io}@anchor{1f8} @subsection No_IO @@ -13191,7 +13245,7 @@ dependences on any of the library units Sequential_IO, Direct_IO, Text_IO, Wide_Text_IO, Wide_Wide_Text_IO, or Stream_IO. @node No_Local_Allocators,No_Local_Protected_Objects,No_IO,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-local-allocators}@anchor{1f6} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-local-allocators}@anchor{1f9} @subsection No_Local_Allocators @@ -13202,7 +13256,7 @@ occurrences of an allocator in subprograms, generic subprograms, tasks, and entry bodies. @node No_Local_Protected_Objects,No_Local_Tagged_Types,No_Local_Allocators,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-local-protected-objects}@anchor{1f7} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-local-protected-objects}@anchor{1fa} @subsection No_Local_Protected_Objects @@ -13212,7 +13266,7 @@ and entry bodies. only declared at the library level. @node No_Local_Tagged_Types,No_Local_Timing_Events,No_Local_Protected_Objects,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-local-tagged-types}@anchor{1f8} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-local-tagged-types}@anchor{1fb} @subsection No_Local_Tagged_Types @@ -13222,7 +13276,7 @@ only declared at the library level. declared at the library level. @node No_Local_Timing_Events,No_Long_Long_Integers,No_Local_Tagged_Types,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-local-timing-events}@anchor{1f9} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-local-timing-events}@anchor{1fc} @subsection No_Local_Timing_Events @@ -13232,7 +13286,7 @@ declared at the library level. declared at the library level. @node No_Long_Long_Integers,No_Multiple_Elaboration,No_Local_Timing_Events,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-long-long-integers}@anchor{1fa} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-long-long-integers}@anchor{1fd} @subsection No_Long_Long_Integers @@ -13244,7 +13298,7 @@ implicit base type is Long_Long_Integer, and modular types whose size exceeds Long_Integer’Size. @node No_Multiple_Elaboration,No_Nested_Finalization,No_Long_Long_Integers,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-multiple-elaboration}@anchor{1fb} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-multiple-elaboration}@anchor{1fe} @subsection No_Multiple_Elaboration @@ -13260,7 +13314,7 @@ possible, including non-Ada main programs and Stand Alone libraries, are not permitted and will be diagnosed by the binder. @node No_Nested_Finalization,No_Protected_Type_Allocators,No_Multiple_Elaboration,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-nested-finalization}@anchor{1fc} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-nested-finalization}@anchor{1ff} @subsection No_Nested_Finalization @@ -13269,7 +13323,7 @@ permitted and will be diagnosed by the binder. [RM D.7] All objects requiring finalization are declared at the library level. @node No_Protected_Type_Allocators,No_Protected_Types,No_Nested_Finalization,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-protected-type-allocators}@anchor{1fd} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-protected-type-allocators}@anchor{200} @subsection No_Protected_Type_Allocators @@ -13279,7 +13333,7 @@ permitted and will be diagnosed by the binder. expressions that attempt to allocate protected objects. @node No_Protected_Types,No_Recursion,No_Protected_Type_Allocators,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-protected-types}@anchor{1fe} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-protected-types}@anchor{201} @subsection No_Protected_Types @@ -13289,7 +13343,7 @@ expressions that attempt to allocate protected objects. declarations of protected types or protected objects. @node No_Recursion,No_Reentrancy,No_Protected_Types,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-recursion}@anchor{1ff} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-recursion}@anchor{202} @subsection No_Recursion @@ -13299,7 +13353,7 @@ declarations of protected types or protected objects. part of its execution. @node No_Reentrancy,No_Relative_Delay,No_Recursion,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-reentrancy}@anchor{200} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-reentrancy}@anchor{203} @subsection No_Reentrancy @@ -13309,7 +13363,7 @@ part of its execution. two tasks at the same time. @node No_Relative_Delay,No_Requeue_Statements,No_Reentrancy,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-relative-delay}@anchor{201} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-relative-delay}@anchor{204} @subsection No_Relative_Delay @@ -13320,7 +13374,7 @@ relative statements and prevents expressions such as @code{delay 1.23;} from appearing in source code. @node No_Requeue_Statements,No_Secondary_Stack,No_Relative_Delay,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-requeue-statements}@anchor{202} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-requeue-statements}@anchor{205} @subsection No_Requeue_Statements @@ -13338,7 +13392,7 @@ compatibility purposes (and a warning will be generated for its use if warnings on oNobsolescent features are activated). @node No_Secondary_Stack,No_Select_Statements,No_Requeue_Statements,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-secondary-stack}@anchor{203} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-secondary-stack}@anchor{206} @subsection No_Secondary_Stack @@ -13351,7 +13405,7 @@ stack is used to implement functions returning unconstrained objects secondary stacks for tasks (excluding the environment task) at run time. @node No_Select_Statements,No_Specific_Termination_Handlers,No_Secondary_Stack,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-select-statements}@anchor{204} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-select-statements}@anchor{207} @subsection No_Select_Statements @@ -13361,7 +13415,7 @@ secondary stacks for tasks (excluding the environment task) at run time. kind are permitted, that is the keyword @code{select} may not appear. @node No_Specific_Termination_Handlers,No_Specification_of_Aspect,No_Select_Statements,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-specific-termination-handlers}@anchor{205} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-specific-termination-handlers}@anchor{208} @subsection No_Specific_Termination_Handlers @@ -13371,7 +13425,7 @@ kind are permitted, that is the keyword @code{select} may not appear. or to Ada.Task_Termination.Specific_Handler. @node No_Specification_of_Aspect,No_Standard_Allocators_After_Elaboration,No_Specific_Termination_Handlers,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-specification-of-aspect}@anchor{206} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-specification-of-aspect}@anchor{209} @subsection No_Specification_of_Aspect @@ -13382,7 +13436,7 @@ specification, attribute definition clause, or pragma is given for a given aspect. @node No_Standard_Allocators_After_Elaboration,No_Standard_Storage_Pools,No_Specification_of_Aspect,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-standard-allocators-after-elaboration}@anchor{207} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-standard-allocators-after-elaboration}@anchor{20a} @subsection No_Standard_Allocators_After_Elaboration @@ -13394,7 +13448,7 @@ library items of the partition has completed. Otherwise, Storage_Error is raised. @node No_Standard_Storage_Pools,No_Stream_Optimizations,No_Standard_Allocators_After_Elaboration,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-standard-storage-pools}@anchor{208} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-standard-storage-pools}@anchor{20b} @subsection No_Standard_Storage_Pools @@ -13406,7 +13460,7 @@ have an explicit Storage_Pool attribute defined specifying a user-defined storage pool. @node No_Stream_Optimizations,No_Streams,No_Standard_Storage_Pools,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-stream-optimizations}@anchor{209} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-stream-optimizations}@anchor{20c} @subsection No_Stream_Optimizations @@ -13419,7 +13473,7 @@ due to their superior performance. When this restriction is in effect, the compiler performs all IO operations on a per-character basis. @node No_Streams,No_Tagged_Type_Registration,No_Stream_Optimizations,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-streams}@anchor{20a} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-streams}@anchor{20d} @subsection No_Streams @@ -13446,7 +13500,7 @@ configuration pragmas to avoid exposing entity names at binary level for the entire partition. @node No_Tagged_Type_Registration,No_Task_Allocators,No_Streams,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-tagged-type-registration}@anchor{20b} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-tagged-type-registration}@anchor{20e} @subsection No_Tagged_Type_Registration @@ -13461,7 +13515,7 @@ are declared. This restriction may be necessary in order to also apply the No_Elaboration_Code restriction. @node No_Task_Allocators,No_Task_At_Interrupt_Priority,No_Tagged_Type_Registration,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-task-allocators}@anchor{20c} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-task-allocators}@anchor{20f} @subsection No_Task_Allocators @@ -13471,7 +13525,7 @@ the No_Elaboration_Code restriction. or types containing task subcomponents. @node No_Task_At_Interrupt_Priority,No_Task_Attributes_Package,No_Task_Allocators,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-task-at-interrupt-priority}@anchor{20d} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-task-at-interrupt-priority}@anchor{210} @subsection No_Task_At_Interrupt_Priority @@ -13483,7 +13537,7 @@ a consequence, the tasks are always created with a priority below that an interrupt priority. @node No_Task_Attributes_Package,No_Task_Hierarchy,No_Task_At_Interrupt_Priority,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-task-attributes-package}@anchor{20e} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-task-attributes-package}@anchor{211} @subsection No_Task_Attributes_Package @@ -13500,7 +13554,7 @@ compatibility purposes (and a warning will be generated for its use if warnings on obsolescent features are activated). @node No_Task_Hierarchy,No_Task_Termination,No_Task_Attributes_Package,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-task-hierarchy}@anchor{20f} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-task-hierarchy}@anchor{212} @subsection No_Task_Hierarchy @@ -13510,7 +13564,7 @@ warnings on obsolescent features are activated). directly on the environment task of the partition. @node No_Task_Termination,No_Tasking,No_Task_Hierarchy,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-task-termination}@anchor{210} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-task-termination}@anchor{213} @subsection No_Task_Termination @@ -13519,7 +13573,7 @@ directly on the environment task of the partition. [RM D.7] Tasks that terminate are erroneous. @node No_Tasking,No_Terminate_Alternatives,No_Task_Termination,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-tasking}@anchor{211} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-tasking}@anchor{214} @subsection No_Tasking @@ -13532,7 +13586,7 @@ and cause an error message to be output either by the compiler or binder. @node No_Terminate_Alternatives,No_Unchecked_Access,No_Tasking,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-terminate-alternatives}@anchor{212} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-terminate-alternatives}@anchor{215} @subsection No_Terminate_Alternatives @@ -13541,7 +13595,7 @@ binder. [RM D.7] There are no selective accepts with terminate alternatives. @node No_Unchecked_Access,No_Unchecked_Conversion,No_Terminate_Alternatives,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-unchecked-access}@anchor{213} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-unchecked-access}@anchor{216} @subsection No_Unchecked_Access @@ -13551,7 +13605,7 @@ binder. occurrences of the Unchecked_Access attribute. @node No_Unchecked_Conversion,No_Unchecked_Deallocation,No_Unchecked_Access,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-unchecked-conversion}@anchor{214} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-unchecked-conversion}@anchor{217} @subsection No_Unchecked_Conversion @@ -13561,7 +13615,7 @@ occurrences of the Unchecked_Access attribute. dependences on the predefined generic function Unchecked_Conversion. @node No_Unchecked_Deallocation,No_Use_Of_Attribute,No_Unchecked_Conversion,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-unchecked-deallocation}@anchor{215} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-unchecked-deallocation}@anchor{218} @subsection No_Unchecked_Deallocation @@ -13571,7 +13625,7 @@ dependences on the predefined generic function Unchecked_Conversion. dependences on the predefined generic procedure Unchecked_Deallocation. @node No_Use_Of_Attribute,No_Use_Of_Entity,No_Unchecked_Deallocation,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-use-of-attribute}@anchor{216} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-use-of-attribute}@anchor{219} @subsection No_Use_Of_Attribute @@ -13581,7 +13635,7 @@ dependences on the predefined generic procedure Unchecked_Deallocation. earlier versions of Ada. @node No_Use_Of_Entity,No_Use_Of_Pragma,No_Use_Of_Attribute,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-use-of-entity}@anchor{217} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-use-of-entity}@anchor{21a} @subsection No_Use_Of_Entity @@ -13601,7 +13655,7 @@ No_Use_Of_Entity => Ada.Text_IO.Put_Line @end example @node No_Use_Of_Pragma,Pure_Barriers,No_Use_Of_Entity,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-use-of-pragma}@anchor{218} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-use-of-pragma}@anchor{21b} @subsection No_Use_Of_Pragma @@ -13611,7 +13665,7 @@ No_Use_Of_Entity => Ada.Text_IO.Put_Line earlier versions of Ada. @node Pure_Barriers,Simple_Barriers,No_Use_Of_Pragma,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions pure-barriers}@anchor{219} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions pure-barriers}@anchor{21c} @subsection Pure_Barriers @@ -13662,7 +13716,7 @@ but still ensures absence of side effects, exceptions, and recursion during the evaluation of the barriers. @node Simple_Barriers,Static_Priorities,Pure_Barriers,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions simple-barriers}@anchor{21a} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions simple-barriers}@anchor{21d} @subsection Simple_Barriers @@ -13681,7 +13735,7 @@ compatibility purposes (and a warning will be generated for its use if warnings on obsolescent features are activated). @node Static_Priorities,Static_Storage_Size,Simple_Barriers,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions static-priorities}@anchor{21b} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions static-priorities}@anchor{21e} @subsection Static_Priorities @@ -13692,7 +13746,7 @@ are static, and that there are no dependences on the package @code{Ada.Dynamic_Priorities}. @node Static_Storage_Size,,Static_Priorities,Partition-Wide Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions static-storage-size}@anchor{21c} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions static-storage-size}@anchor{21f} @subsection Static_Storage_Size @@ -13702,7 +13756,7 @@ are static, and that there are no dependences on the package in a Storage_Size pragma or attribute definition clause is static. @node Program Unit Level Restrictions,,Partition-Wide Restrictions,Standard and Implementation Defined Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions id3}@anchor{21d}@anchor{gnat_rm/standard_and_implementation_defined_restrictions program-unit-level-restrictions}@anchor{21e} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions id3}@anchor{220}@anchor{gnat_rm/standard_and_implementation_defined_restrictions program-unit-level-restrictions}@anchor{221} @section Program Unit Level Restrictions @@ -13733,7 +13787,7 @@ other compilation units in the partition. @end menu @node No_Elaboration_Code,No_Dynamic_Accessibility_Checks,,Program Unit Level Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-elaboration-code}@anchor{21f} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-elaboration-code}@anchor{222} @subsection No_Elaboration_Code @@ -13789,7 +13843,7 @@ associated with the unit. This counter is typically used to check for access before elaboration and to control multiple elaboration attempts. @node No_Dynamic_Accessibility_Checks,No_Dynamic_Sized_Objects,No_Elaboration_Code,Program Unit Level Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-dynamic-accessibility-checks}@anchor{220} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-dynamic-accessibility-checks}@anchor{223} @subsection No_Dynamic_Accessibility_Checks @@ -13838,7 +13892,7 @@ In all other cases, the level of T is as defined by the existing rules of Ada. @end itemize @node No_Dynamic_Sized_Objects,No_Entry_Queue,No_Dynamic_Accessibility_Checks,Program Unit Level Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-dynamic-sized-objects}@anchor{221} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-dynamic-sized-objects}@anchor{224} @subsection No_Dynamic_Sized_Objects @@ -13856,7 +13910,7 @@ access discriminants. It is often a good idea to combine this restriction with No_Secondary_Stack. @node No_Entry_Queue,No_Implementation_Aspect_Specifications,No_Dynamic_Sized_Objects,Program Unit Level Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-entry-queue}@anchor{222} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-entry-queue}@anchor{225} @subsection No_Entry_Queue @@ -13869,7 +13923,7 @@ checked at compile time. A program execution is erroneous if an attempt is made to queue a second task on such an entry. @node No_Implementation_Aspect_Specifications,No_Implementation_Attributes,No_Entry_Queue,Program Unit Level Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implementation-aspect-specifications}@anchor{223} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implementation-aspect-specifications}@anchor{226} @subsection No_Implementation_Aspect_Specifications @@ -13880,7 +13934,7 @@ GNAT-defined aspects are present. With this restriction, the only aspects that can be used are those defined in the Ada Reference Manual. @node No_Implementation_Attributes,No_Implementation_Identifiers,No_Implementation_Aspect_Specifications,Program Unit Level Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implementation-attributes}@anchor{224} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implementation-attributes}@anchor{227} @subsection No_Implementation_Attributes @@ -13892,7 +13946,7 @@ attributes that can be used are those defined in the Ada Reference Manual. @node No_Implementation_Identifiers,No_Implementation_Pragmas,No_Implementation_Attributes,Program Unit Level Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implementation-identifiers}@anchor{225} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implementation-identifiers}@anchor{228} @subsection No_Implementation_Identifiers @@ -13903,7 +13957,7 @@ implementation-defined identifiers (marked with pragma Implementation_Defined) occur within language-defined packages. @node No_Implementation_Pragmas,No_Implementation_Restrictions,No_Implementation_Identifiers,Program Unit Level Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implementation-pragmas}@anchor{226} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implementation-pragmas}@anchor{229} @subsection No_Implementation_Pragmas @@ -13914,7 +13968,7 @@ GNAT-defined pragmas are present. With this restriction, the only pragmas that can be used are those defined in the Ada Reference Manual. @node No_Implementation_Restrictions,No_Implementation_Units,No_Implementation_Pragmas,Program Unit Level Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implementation-restrictions}@anchor{227} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implementation-restrictions}@anchor{22a} @subsection No_Implementation_Restrictions @@ -13926,7 +13980,7 @@ are present. With this restriction, the only other restriction identifiers that can be used are those defined in the Ada Reference Manual. @node No_Implementation_Units,No_Implicit_Aliasing,No_Implementation_Restrictions,Program Unit Level Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implementation-units}@anchor{228} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implementation-units}@anchor{22b} @subsection No_Implementation_Units @@ -13937,7 +13991,7 @@ mention in the context clause of any implementation-defined descendants of packages Ada, Interfaces, or System. @node No_Implicit_Aliasing,No_Implicit_Loops,No_Implementation_Units,Program Unit Level Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implicit-aliasing}@anchor{229} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implicit-aliasing}@anchor{22c} @subsection No_Implicit_Aliasing @@ -13952,7 +14006,7 @@ to be aliased, and in such cases, it can always be replaced by the standard attribute Unchecked_Access which is preferable. @node No_Implicit_Loops,No_Obsolescent_Features,No_Implicit_Aliasing,Program Unit Level Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implicit-loops}@anchor{22a} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-implicit-loops}@anchor{22d} @subsection No_Implicit_Loops @@ -13969,7 +14023,7 @@ arrays larger than about 5000 scalar components. Note that if this restriction is set in the spec of a package, it will not apply to its body. @node No_Obsolescent_Features,No_Wide_Characters,No_Implicit_Loops,Program Unit Level Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-obsolescent-features}@anchor{22b} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-obsolescent-features}@anchor{22e} @subsection No_Obsolescent_Features @@ -13979,7 +14033,7 @@ is set in the spec of a package, it will not apply to its body. features are used, as defined in Annex J of the Ada Reference Manual. @node No_Wide_Characters,Static_Dispatch_Tables,No_Obsolescent_Features,Program Unit Level Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-wide-characters}@anchor{22c} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions no-wide-characters}@anchor{22f} @subsection No_Wide_Characters @@ -13993,7 +14047,7 @@ appear in the program (that is literals representing characters not in type @code{Character}). @node Static_Dispatch_Tables,SPARK_05,No_Wide_Characters,Program Unit Level Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions static-dispatch-tables}@anchor{22d} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions static-dispatch-tables}@anchor{230} @subsection Static_Dispatch_Tables @@ -14003,7 +14057,7 @@ type @code{Character}). associated with dispatch tables can be placed in read-only memory. @node SPARK_05,,Static_Dispatch_Tables,Program Unit Level Restrictions -@anchor{gnat_rm/standard_and_implementation_defined_restrictions spark-05}@anchor{22e} +@anchor{gnat_rm/standard_and_implementation_defined_restrictions spark-05}@anchor{231} @subsection SPARK_05 @@ -14026,7 +14080,7 @@ gnatprove -P project.gpr --mode=check_all @end example @node Implementation Advice,Implementation Defined Characteristics,Standard and Implementation Defined Restrictions,Top -@anchor{gnat_rm/implementation_advice doc}@anchor{22f}@anchor{gnat_rm/implementation_advice id1}@anchor{230}@anchor{gnat_rm/implementation_advice implementation-advice}@anchor{a} +@anchor{gnat_rm/implementation_advice doc}@anchor{232}@anchor{gnat_rm/implementation_advice id1}@anchor{233}@anchor{gnat_rm/implementation_advice implementation-advice}@anchor{a} @chapter Implementation Advice @@ -14124,7 +14178,7 @@ case the text describes what GNAT does and why. @end menu @node RM 1 1 3 20 Error Detection,RM 1 1 3 31 Child Units,,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-1-1-3-20-error-detection}@anchor{231} +@anchor{gnat_rm/implementation_advice rm-1-1-3-20-error-detection}@anchor{234} @section RM 1.1.3(20): Error Detection @@ -14141,7 +14195,7 @@ or diagnosed at compile time. @geindex Child Units @node RM 1 1 3 31 Child Units,RM 1 1 5 12 Bounded Errors,RM 1 1 3 20 Error Detection,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-1-1-3-31-child-units}@anchor{232} +@anchor{gnat_rm/implementation_advice rm-1-1-3-31-child-units}@anchor{235} @section RM 1.1.3(31): Child Units @@ -14157,7 +14211,7 @@ Followed. @geindex Bounded errors @node RM 1 1 5 12 Bounded Errors,RM 2 8 16 Pragmas,RM 1 1 3 31 Child Units,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-1-1-5-12-bounded-errors}@anchor{233} +@anchor{gnat_rm/implementation_advice rm-1-1-5-12-bounded-errors}@anchor{236} @section RM 1.1.5(12): Bounded Errors @@ -14174,7 +14228,7 @@ runtime. @geindex Pragmas @node RM 2 8 16 Pragmas,RM 2 8 17-19 Pragmas,RM 1 1 5 12 Bounded Errors,Implementation Advice -@anchor{gnat_rm/implementation_advice id2}@anchor{234}@anchor{gnat_rm/implementation_advice rm-2-8-16-pragmas}@anchor{235} +@anchor{gnat_rm/implementation_advice id2}@anchor{237}@anchor{gnat_rm/implementation_advice rm-2-8-16-pragmas}@anchor{238} @section RM 2.8(16): Pragmas @@ -14287,7 +14341,7 @@ that this advice not be followed. For details see @ref{7,,Implementation Defined Pragmas}. @node RM 2 8 17-19 Pragmas,RM 3 5 2 5 Alternative Character Sets,RM 2 8 16 Pragmas,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-2-8-17-19-pragmas}@anchor{236} +@anchor{gnat_rm/implementation_advice rm-2-8-17-19-pragmas}@anchor{239} @section RM 2.8(17-19): Pragmas @@ -14308,14 +14362,14 @@ replacing @code{library_items}.” @end itemize @end quotation -See @ref{235,,RM 2.8(16); Pragmas}. +See @ref{238,,RM 2.8(16); Pragmas}. @geindex Character Sets @geindex Alternative Character Sets @node RM 3 5 2 5 Alternative Character Sets,RM 3 5 4 28 Integer Types,RM 2 8 17-19 Pragmas,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-3-5-2-5-alternative-character-sets}@anchor{237} +@anchor{gnat_rm/implementation_advice rm-3-5-2-5-alternative-character-sets}@anchor{23a} @section RM 3.5.2(5): Alternative Character Sets @@ -14343,7 +14397,7 @@ there is no such restriction. @geindex Integer types @node RM 3 5 4 28 Integer Types,RM 3 5 4 29 Integer Types,RM 3 5 2 5 Alternative Character Sets,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-3-5-4-28-integer-types}@anchor{238} +@anchor{gnat_rm/implementation_advice rm-3-5-4-28-integer-types}@anchor{23b} @section RM 3.5.4(28): Integer Types @@ -14362,7 +14416,7 @@ are supported for convenient interface to C, and so that all hardware types of the machine are easily available. @node RM 3 5 4 29 Integer Types,RM 3 5 5 8 Enumeration Values,RM 3 5 4 28 Integer Types,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-3-5-4-29-integer-types}@anchor{239} +@anchor{gnat_rm/implementation_advice rm-3-5-4-29-integer-types}@anchor{23c} @section RM 3.5.4(29): Integer Types @@ -14378,7 +14432,7 @@ Followed. @geindex Enumeration values @node RM 3 5 5 8 Enumeration Values,RM 3 5 7 17 Float Types,RM 3 5 4 29 Integer Types,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-3-5-5-8-enumeration-values}@anchor{23a} +@anchor{gnat_rm/implementation_advice rm-3-5-5-8-enumeration-values}@anchor{23d} @section RM 3.5.5(8): Enumeration Values @@ -14398,7 +14452,7 @@ Followed. @geindex Float types @node RM 3 5 7 17 Float Types,RM 3 6 2 11 Multidimensional Arrays,RM 3 5 5 8 Enumeration Values,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-3-5-7-17-float-types}@anchor{23b} +@anchor{gnat_rm/implementation_advice rm-3-5-7-17-float-types}@anchor{23e} @section RM 3.5.7(17): Float Types @@ -14428,7 +14482,7 @@ is a software rather than a hardware format. @geindex multidimensional @node RM 3 6 2 11 Multidimensional Arrays,RM 9 6 30-31 Duration’Small,RM 3 5 7 17 Float Types,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-3-6-2-11-multidimensional-arrays}@anchor{23c} +@anchor{gnat_rm/implementation_advice rm-3-6-2-11-multidimensional-arrays}@anchor{23f} @section RM 3.6.2(11): Multidimensional Arrays @@ -14446,7 +14500,7 @@ Followed. @geindex Duration'Small @node RM 9 6 30-31 Duration’Small,RM 10 2 1 12 Consistent Representation,RM 3 6 2 11 Multidimensional Arrays,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-9-6-30-31-duration-small}@anchor{23d} +@anchor{gnat_rm/implementation_advice rm-9-6-30-31-duration-small}@anchor{240} @section RM 9.6(30-31): Duration’Small @@ -14467,7 +14521,7 @@ it need not be the same time base as used for @code{Calendar.Clock}.” Followed. @node RM 10 2 1 12 Consistent Representation,RM 11 4 1 19 Exception Information,RM 9 6 30-31 Duration’Small,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-10-2-1-12-consistent-representation}@anchor{23e} +@anchor{gnat_rm/implementation_advice rm-10-2-1-12-consistent-representation}@anchor{241} @section RM 10.2.1(12): Consistent Representation @@ -14489,7 +14543,7 @@ advice without severely impacting efficiency of execution. @geindex Exception information @node RM 11 4 1 19 Exception Information,RM 11 5 28 Suppression of Checks,RM 10 2 1 12 Consistent Representation,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-11-4-1-19-exception-information}@anchor{23f} +@anchor{gnat_rm/implementation_advice rm-11-4-1-19-exception-information}@anchor{242} @section RM 11.4.1(19): Exception Information @@ -14520,7 +14574,7 @@ Pragma @code{Discard_Names}. @geindex suppression of @node RM 11 5 28 Suppression of Checks,RM 13 1 21-24 Representation Clauses,RM 11 4 1 19 Exception Information,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-11-5-28-suppression-of-checks}@anchor{240} +@anchor{gnat_rm/implementation_advice rm-11-5-28-suppression-of-checks}@anchor{243} @section RM 11.5(28): Suppression of Checks @@ -14535,7 +14589,7 @@ Followed. @geindex Representation clauses @node RM 13 1 21-24 Representation Clauses,RM 13 2 6-8 Packed Types,RM 11 5 28 Suppression of Checks,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-13-1-21-24-representation-clauses}@anchor{241} +@anchor{gnat_rm/implementation_advice rm-13-1-21-24-representation-clauses}@anchor{244} @section RM 13.1 (21-24): Representation Clauses @@ -14587,7 +14641,7 @@ Followed. @geindex Packed types @node RM 13 2 6-8 Packed Types,RM 13 3 14-19 Address Clauses,RM 13 1 21-24 Representation Clauses,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-13-2-6-8-packed-types}@anchor{242} +@anchor{gnat_rm/implementation_advice rm-13-2-6-8-packed-types}@anchor{245} @section RM 13.2(6-8): Packed Types @@ -14618,7 +14672,7 @@ subcomponent of the packed type. @geindex Address clauses @node RM 13 3 14-19 Address Clauses,RM 13 3 29-35 Alignment Clauses,RM 13 2 6-8 Packed Types,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-13-3-14-19-address-clauses}@anchor{243} +@anchor{gnat_rm/implementation_advice rm-13-3-14-19-address-clauses}@anchor{246} @section RM 13.3(14-19): Address Clauses @@ -14671,7 +14725,7 @@ Followed. @geindex Alignment clauses @node RM 13 3 29-35 Alignment Clauses,RM 13 3 42-43 Size Clauses,RM 13 3 14-19 Address Clauses,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-13-3-29-35-alignment-clauses}@anchor{244} +@anchor{gnat_rm/implementation_advice rm-13-3-29-35-alignment-clauses}@anchor{247} @section RM 13.3(29-35): Alignment Clauses @@ -14728,7 +14782,7 @@ Followed. @geindex Size clauses @node RM 13 3 42-43 Size Clauses,RM 13 3 50-56 Size Clauses,RM 13 3 29-35 Alignment Clauses,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-13-3-42-43-size-clauses}@anchor{245} +@anchor{gnat_rm/implementation_advice rm-13-3-42-43-size-clauses}@anchor{248} @section RM 13.3(42-43): Size Clauses @@ -14746,7 +14800,7 @@ object’s @code{Alignment} (if the @code{Alignment} is nonzero).” Followed. @node RM 13 3 50-56 Size Clauses,RM 13 3 71-73 Component Size Clauses,RM 13 3 42-43 Size Clauses,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-13-3-50-56-size-clauses}@anchor{246} +@anchor{gnat_rm/implementation_advice rm-13-3-50-56-size-clauses}@anchor{249} @section RM 13.3(50-56): Size Clauses @@ -14797,7 +14851,7 @@ Followed. @geindex Component_Size clauses @node RM 13 3 71-73 Component Size Clauses,RM 13 4 9-10 Enumeration Representation Clauses,RM 13 3 50-56 Size Clauses,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-13-3-71-73-component-size-clauses}@anchor{247} +@anchor{gnat_rm/implementation_advice rm-13-3-71-73-component-size-clauses}@anchor{24a} @section RM 13.3(71-73): Component Size Clauses @@ -14831,7 +14885,7 @@ Followed. @geindex enumeration @node RM 13 4 9-10 Enumeration Representation Clauses,RM 13 5 1 17-22 Record Representation Clauses,RM 13 3 71-73 Component Size Clauses,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-13-4-9-10-enumeration-representation-clauses}@anchor{248} +@anchor{gnat_rm/implementation_advice rm-13-4-9-10-enumeration-representation-clauses}@anchor{24b} @section RM 13.4(9-10): Enumeration Representation Clauses @@ -14853,7 +14907,7 @@ Followed. @geindex records @node RM 13 5 1 17-22 Record Representation Clauses,RM 13 5 2 5 Storage Place Attributes,RM 13 4 9-10 Enumeration Representation Clauses,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-13-5-1-17-22-record-representation-clauses}@anchor{249} +@anchor{gnat_rm/implementation_advice rm-13-5-1-17-22-record-representation-clauses}@anchor{24c} @section RM 13.5.1(17-22): Record Representation Clauses @@ -14913,7 +14967,7 @@ and all mentioned features are implemented. @geindex Storage place attributes @node RM 13 5 2 5 Storage Place Attributes,RM 13 5 3 7-8 Bit Ordering,RM 13 5 1 17-22 Record Representation Clauses,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-13-5-2-5-storage-place-attributes}@anchor{24a} +@anchor{gnat_rm/implementation_advice rm-13-5-2-5-storage-place-attributes}@anchor{24d} @section RM 13.5.2(5): Storage Place Attributes @@ -14933,7 +14987,7 @@ Followed. There are no such components in GNAT. @geindex Bit ordering @node RM 13 5 3 7-8 Bit Ordering,RM 13 7 37 Address as Private,RM 13 5 2 5 Storage Place Attributes,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-13-5-3-7-8-bit-ordering}@anchor{24b} +@anchor{gnat_rm/implementation_advice rm-13-5-3-7-8-bit-ordering}@anchor{24e} @section RM 13.5.3(7-8): Bit Ordering @@ -14951,7 +15005,7 @@ Followed. @geindex as private type @node RM 13 7 37 Address as Private,RM 13 7 1 16 Address Operations,RM 13 5 3 7-8 Bit Ordering,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-13-7-37-address-as-private}@anchor{24c} +@anchor{gnat_rm/implementation_advice rm-13-7-37-address-as-private}@anchor{24f} @section RM 13.7(37): Address as Private @@ -14969,7 +15023,7 @@ Followed. @geindex operations of @node RM 13 7 1 16 Address Operations,RM 13 9 14-17 Unchecked Conversion,RM 13 7 37 Address as Private,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-13-7-1-16-address-operations}@anchor{24d} +@anchor{gnat_rm/implementation_advice rm-13-7-1-16-address-operations}@anchor{250} @section RM 13.7.1(16): Address Operations @@ -14987,7 +15041,7 @@ operation raises @code{Program_Error}, since all operations make sense. @geindex Unchecked conversion @node RM 13 9 14-17 Unchecked Conversion,RM 13 11 23-25 Implicit Heap Usage,RM 13 7 1 16 Address Operations,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-13-9-14-17-unchecked-conversion}@anchor{24e} +@anchor{gnat_rm/implementation_advice rm-13-9-14-17-unchecked-conversion}@anchor{251} @section RM 13.9(14-17): Unchecked Conversion @@ -15031,7 +15085,7 @@ Followed. @geindex implicit @node RM 13 11 23-25 Implicit Heap Usage,RM 13 11 2 17 Unchecked Deallocation,RM 13 9 14-17 Unchecked Conversion,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-13-11-23-25-implicit-heap-usage}@anchor{24f} +@anchor{gnat_rm/implementation_advice rm-13-11-23-25-implicit-heap-usage}@anchor{252} @section RM 13.11(23-25): Implicit Heap Usage @@ -15082,7 +15136,7 @@ Followed. @geindex Unchecked deallocation @node RM 13 11 2 17 Unchecked Deallocation,RM 13 13 2 1 6 Stream Oriented Attributes,RM 13 11 23-25 Implicit Heap Usage,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-13-11-2-17-unchecked-deallocation}@anchor{250} +@anchor{gnat_rm/implementation_advice rm-13-11-2-17-unchecked-deallocation}@anchor{253} @section RM 13.11.2(17): Unchecked Deallocation @@ -15097,7 +15151,7 @@ Followed. @geindex Stream oriented attributes @node RM 13 13 2 1 6 Stream Oriented Attributes,RM A 1 52 Names of Predefined Numeric Types,RM 13 11 2 17 Unchecked Deallocation,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-13-13-2-1-6-stream-oriented-attributes}@anchor{251} +@anchor{gnat_rm/implementation_advice rm-13-13-2-1-6-stream-oriented-attributes}@anchor{254} @section RM 13.13.2(1.6): Stream Oriented Attributes @@ -15128,7 +15182,7 @@ scalar types. This XDR alternative can be enabled via the binder switch -xdr. @geindex Stream oriented attributes @node RM A 1 52 Names of Predefined Numeric Types,RM A 3 2 49 Ada Characters Handling,RM 13 13 2 1 6 Stream Oriented Attributes,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-a-1-52-names-of-predefined-numeric-types}@anchor{252} +@anchor{gnat_rm/implementation_advice rm-a-1-52-names-of-predefined-numeric-types}@anchor{255} @section RM A.1(52): Names of Predefined Numeric Types @@ -15146,7 +15200,7 @@ Followed. @geindex Ada.Characters.Handling @node RM A 3 2 49 Ada Characters Handling,RM A 4 4 106 Bounded-Length String Handling,RM A 1 52 Names of Predefined Numeric Types,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-a-3-2-49-ada-characters-handling}@anchor{253} +@anchor{gnat_rm/implementation_advice rm-a-3-2-49-ada-characters-handling}@anchor{256} @section RM A.3.2(49): @code{Ada.Characters.Handling} @@ -15163,7 +15217,7 @@ Followed. GNAT provides no such localized definitions. @geindex Bounded-length strings @node RM A 4 4 106 Bounded-Length String Handling,RM A 5 2 46-47 Random Number Generation,RM A 3 2 49 Ada Characters Handling,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-a-4-4-106-bounded-length-string-handling}@anchor{254} +@anchor{gnat_rm/implementation_advice rm-a-4-4-106-bounded-length-string-handling}@anchor{257} @section RM A.4.4(106): Bounded-Length String Handling @@ -15178,7 +15232,7 @@ Followed. No implicit pointers or dynamic allocation are used. @geindex Random number generation @node RM A 5 2 46-47 Random Number Generation,RM A 10 7 23 Get_Immediate,RM A 4 4 106 Bounded-Length String Handling,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-a-5-2-46-47-random-number-generation}@anchor{255} +@anchor{gnat_rm/implementation_advice rm-a-5-2-46-47-random-number-generation}@anchor{258} @section RM A.5.2(46-47): Random Number Generation @@ -15207,7 +15261,7 @@ condition here to hold true. @geindex Get_Immediate @node RM A 10 7 23 Get_Immediate,RM A 18 Containers,RM A 5 2 46-47 Random Number Generation,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-a-10-7-23-get-immediate}@anchor{256} +@anchor{gnat_rm/implementation_advice rm-a-10-7-23-get-immediate}@anchor{259} @section RM A.10.7(23): @code{Get_Immediate} @@ -15231,7 +15285,7 @@ this functionality. @geindex Containers @node RM A 18 Containers,RM B 1 39-41 Pragma Export,RM A 10 7 23 Get_Immediate,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-a-18-containers}@anchor{257} +@anchor{gnat_rm/implementation_advice rm-a-18-containers}@anchor{25a} @section RM A.18: @code{Containers} @@ -15252,7 +15306,7 @@ follow the implementation advice. @geindex Export @node RM B 1 39-41 Pragma Export,RM B 2 12-13 Package Interfaces,RM A 18 Containers,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-b-1-39-41-pragma-export}@anchor{258} +@anchor{gnat_rm/implementation_advice rm-b-1-39-41-pragma-export}@anchor{25b} @section RM B.1(39-41): Pragma @code{Export} @@ -15300,7 +15354,7 @@ Followed. @geindex Interfaces @node RM B 2 12-13 Package Interfaces,RM B 3 63-71 Interfacing with C,RM B 1 39-41 Pragma Export,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-b-2-12-13-package-interfaces}@anchor{259} +@anchor{gnat_rm/implementation_advice rm-b-2-12-13-package-interfaces}@anchor{25c} @section RM B.2(12-13): Package @code{Interfaces} @@ -15330,7 +15384,7 @@ Followed. GNAT provides all the packages described in this section. @geindex interfacing with @node RM B 3 63-71 Interfacing with C,RM B 4 95-98 Interfacing with COBOL,RM B 2 12-13 Package Interfaces,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-b-3-63-71-interfacing-with-c}@anchor{25a} +@anchor{gnat_rm/implementation_advice rm-b-3-63-71-interfacing-with-c}@anchor{25d} @section RM B.3(63-71): Interfacing with C @@ -15418,7 +15472,7 @@ Followed. @geindex interfacing with @node RM B 4 95-98 Interfacing with COBOL,RM B 5 22-26 Interfacing with Fortran,RM B 3 63-71 Interfacing with C,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-b-4-95-98-interfacing-with-cobol}@anchor{25b} +@anchor{gnat_rm/implementation_advice rm-b-4-95-98-interfacing-with-cobol}@anchor{25e} @section RM B.4(95-98): Interfacing with COBOL @@ -15459,7 +15513,7 @@ Followed. @geindex interfacing with @node RM B 5 22-26 Interfacing with Fortran,RM C 1 3-5 Access to Machine Operations,RM B 4 95-98 Interfacing with COBOL,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-b-5-22-26-interfacing-with-fortran}@anchor{25c} +@anchor{gnat_rm/implementation_advice rm-b-5-22-26-interfacing-with-fortran}@anchor{25f} @section RM B.5(22-26): Interfacing with Fortran @@ -15510,7 +15564,7 @@ Followed. @geindex Machine operations @node RM C 1 3-5 Access to Machine Operations,RM C 1 10-16 Access to Machine Operations,RM B 5 22-26 Interfacing with Fortran,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-c-1-3-5-access-to-machine-operations}@anchor{25d} +@anchor{gnat_rm/implementation_advice rm-c-1-3-5-access-to-machine-operations}@anchor{260} @section RM C.1(3-5): Access to Machine Operations @@ -15545,7 +15599,7 @@ object that is specified as exported.” Followed. @node RM C 1 10-16 Access to Machine Operations,RM C 3 28 Interrupt Support,RM C 1 3-5 Access to Machine Operations,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-c-1-10-16-access-to-machine-operations}@anchor{25e} +@anchor{gnat_rm/implementation_advice rm-c-1-10-16-access-to-machine-operations}@anchor{261} @section RM C.1(10-16): Access to Machine Operations @@ -15606,7 +15660,7 @@ Followed on any target supporting such operations. @geindex Interrupt support @node RM C 3 28 Interrupt Support,RM C 3 1 20-21 Protected Procedure Handlers,RM C 1 10-16 Access to Machine Operations,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-c-3-28-interrupt-support}@anchor{25f} +@anchor{gnat_rm/implementation_advice rm-c-3-28-interrupt-support}@anchor{262} @section RM C.3(28): Interrupt Support @@ -15624,7 +15678,7 @@ of interrupt blocking. @geindex Protected procedure handlers @node RM C 3 1 20-21 Protected Procedure Handlers,RM C 3 2 25 Package Interrupts,RM C 3 28 Interrupt Support,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-c-3-1-20-21-protected-procedure-handlers}@anchor{260} +@anchor{gnat_rm/implementation_advice rm-c-3-1-20-21-protected-procedure-handlers}@anchor{263} @section RM C.3.1(20-21): Protected Procedure Handlers @@ -15650,7 +15704,7 @@ Followed. Compile time warnings are given when possible. @geindex Interrupts @node RM C 3 2 25 Package Interrupts,RM C 4 14 Pre-elaboration Requirements,RM C 3 1 20-21 Protected Procedure Handlers,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-c-3-2-25-package-interrupts}@anchor{261} +@anchor{gnat_rm/implementation_advice rm-c-3-2-25-package-interrupts}@anchor{264} @section RM C.3.2(25): Package @code{Interrupts} @@ -15668,7 +15722,7 @@ Followed. @geindex Pre-elaboration requirements @node RM C 4 14 Pre-elaboration Requirements,RM C 5 8 Pragma Discard_Names,RM C 3 2 25 Package Interrupts,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-c-4-14-pre-elaboration-requirements}@anchor{262} +@anchor{gnat_rm/implementation_advice rm-c-4-14-pre-elaboration-requirements}@anchor{265} @section RM C.4(14): Pre-elaboration Requirements @@ -15684,7 +15738,7 @@ Followed. Executable code is generated in some cases, e.g., loops to initialize large arrays. @node RM C 5 8 Pragma Discard_Names,RM C 7 2 30 The Package Task_Attributes,RM C 4 14 Pre-elaboration Requirements,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-c-5-8-pragma-discard-names}@anchor{263} +@anchor{gnat_rm/implementation_advice rm-c-5-8-pragma-discard-names}@anchor{266} @section RM C.5(8): Pragma @code{Discard_Names} @@ -15702,7 +15756,7 @@ Followed. @geindex Task_Attributes @node RM C 7 2 30 The Package Task_Attributes,RM D 3 17 Locking Policies,RM C 5 8 Pragma Discard_Names,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-c-7-2-30-the-package-task-attributes}@anchor{264} +@anchor{gnat_rm/implementation_advice rm-c-7-2-30-the-package-task-attributes}@anchor{267} @section RM C.7.2(30): The Package Task_Attributes @@ -15723,7 +15777,7 @@ Not followed. This implementation is not targeted to such a domain. @geindex Locking Policies @node RM D 3 17 Locking Policies,RM D 4 16 Entry Queuing Policies,RM C 7 2 30 The Package Task_Attributes,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-d-3-17-locking-policies}@anchor{265} +@anchor{gnat_rm/implementation_advice rm-d-3-17-locking-policies}@anchor{268} @section RM D.3(17): Locking Policies @@ -15740,7 +15794,7 @@ whose names (@code{Inheritance_Locking} and @geindex Entry queuing policies @node RM D 4 16 Entry Queuing Policies,RM D 6 9-10 Preemptive Abort,RM D 3 17 Locking Policies,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-d-4-16-entry-queuing-policies}@anchor{266} +@anchor{gnat_rm/implementation_advice rm-d-4-16-entry-queuing-policies}@anchor{269} @section RM D.4(16): Entry Queuing Policies @@ -15755,7 +15809,7 @@ Followed. No such implementation-defined queuing policies exist. @geindex Preemptive abort @node RM D 6 9-10 Preemptive Abort,RM D 7 21 Tasking Restrictions,RM D 4 16 Entry Queuing Policies,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-d-6-9-10-preemptive-abort}@anchor{267} +@anchor{gnat_rm/implementation_advice rm-d-6-9-10-preemptive-abort}@anchor{26a} @section RM D.6(9-10): Preemptive Abort @@ -15781,7 +15835,7 @@ Followed. @geindex Tasking restrictions @node RM D 7 21 Tasking Restrictions,RM D 8 47-49 Monotonic Time,RM D 6 9-10 Preemptive Abort,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-d-7-21-tasking-restrictions}@anchor{268} +@anchor{gnat_rm/implementation_advice rm-d-7-21-tasking-restrictions}@anchor{26b} @section RM D.7(21): Tasking Restrictions @@ -15800,7 +15854,7 @@ pragma @code{Profile (Restricted)} for more details. @geindex monotonic @node RM D 8 47-49 Monotonic Time,RM E 5 28-29 Partition Communication Subsystem,RM D 7 21 Tasking Restrictions,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-d-8-47-49-monotonic-time}@anchor{269} +@anchor{gnat_rm/implementation_advice rm-d-8-47-49-monotonic-time}@anchor{26c} @section RM D.8(47-49): Monotonic Time @@ -15835,7 +15889,7 @@ Followed. @geindex PCS @node RM E 5 28-29 Partition Communication Subsystem,RM F 7 COBOL Support,RM D 8 47-49 Monotonic Time,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-e-5-28-29-partition-communication-subsystem}@anchor{26a} +@anchor{gnat_rm/implementation_advice rm-e-5-28-29-partition-communication-subsystem}@anchor{26d} @section RM E.5(28-29): Partition Communication Subsystem @@ -15847,8 +15901,7 @@ should allow them to block until the corresponding subprogram body returns.” @end quotation -Followed by GLADE, a separately supplied PCS that can be used with -GNAT. +A separately supplied PCS that can be used with GNAT when combined with the PolyORB product. @quotation @@ -15857,13 +15910,10 @@ should raise @code{Storage_Error} if it runs out of space trying to write the @code{Item} into the stream.” @end quotation -Followed by GLADE, a separately supplied PCS that can be used with -GNAT. - @geindex COBOL support @node RM F 7 COBOL Support,RM F 1 2 Decimal Radix Support,RM E 5 28-29 Partition Communication Subsystem,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-f-7-cobol-support}@anchor{26b} +@anchor{gnat_rm/implementation_advice rm-f-7-cobol-support}@anchor{26e} @section RM F(7): COBOL Support @@ -15883,7 +15933,7 @@ Followed. @geindex Decimal radix support @node RM F 1 2 Decimal Radix Support,RM G Numerics,RM F 7 COBOL Support,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-f-1-2-decimal-radix-support}@anchor{26c} +@anchor{gnat_rm/implementation_advice rm-f-1-2-decimal-radix-support}@anchor{26f} @section RM F.1(2): Decimal Radix Support @@ -15899,7 +15949,7 @@ representations. @geindex Numerics @node RM G Numerics,RM G 1 1 56-58 Complex Types,RM F 1 2 Decimal Radix Support,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-g-numerics}@anchor{26d} +@anchor{gnat_rm/implementation_advice rm-g-numerics}@anchor{270} @section RM G: Numerics @@ -15919,7 +15969,7 @@ Followed. @geindex Complex types @node RM G 1 1 56-58 Complex Types,RM G 1 2 49 Complex Elementary Functions,RM G Numerics,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-g-1-1-56-58-complex-types}@anchor{26e} +@anchor{gnat_rm/implementation_advice rm-g-1-1-56-58-complex-types}@anchor{271} @section RM G.1.1(56-58): Complex Types @@ -15981,7 +16031,7 @@ Followed. @geindex Complex elementary functions @node RM G 1 2 49 Complex Elementary Functions,RM G 2 4 19 Accuracy Requirements,RM G 1 1 56-58 Complex Types,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-g-1-2-49-complex-elementary-functions}@anchor{26f} +@anchor{gnat_rm/implementation_advice rm-g-1-2-49-complex-elementary-functions}@anchor{272} @section RM G.1.2(49): Complex Elementary Functions @@ -16003,7 +16053,7 @@ Followed. @geindex Accuracy requirements @node RM G 2 4 19 Accuracy Requirements,RM G 2 6 15 Complex Arithmetic Accuracy,RM G 1 2 49 Complex Elementary Functions,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-g-2-4-19-accuracy-requirements}@anchor{270} +@anchor{gnat_rm/implementation_advice rm-g-2-4-19-accuracy-requirements}@anchor{273} @section RM G.2.4(19): Accuracy Requirements @@ -16027,7 +16077,7 @@ Followed. @geindex complex arithmetic @node RM G 2 6 15 Complex Arithmetic Accuracy,RM H 6 15/2 Pragma Partition_Elaboration_Policy,RM G 2 4 19 Accuracy Requirements,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-g-2-6-15-complex-arithmetic-accuracy}@anchor{271} +@anchor{gnat_rm/implementation_advice rm-g-2-6-15-complex-arithmetic-accuracy}@anchor{274} @section RM G.2.6(15): Complex Arithmetic Accuracy @@ -16045,7 +16095,7 @@ Followed. @geindex Sequential elaboration policy @node RM H 6 15/2 Pragma Partition_Elaboration_Policy,,RM G 2 6 15 Complex Arithmetic Accuracy,Implementation Advice -@anchor{gnat_rm/implementation_advice rm-h-6-15-2-pragma-partition-elaboration-policy}@anchor{272} +@anchor{gnat_rm/implementation_advice rm-h-6-15-2-pragma-partition-elaboration-policy}@anchor{275} @section RM H.6(15/2): Pragma Partition_Elaboration_Policy @@ -16060,7 +16110,7 @@ immediately terminated.” Not followed. @node Implementation Defined Characteristics,Intrinsic Subprograms,Implementation Advice,Top -@anchor{gnat_rm/implementation_defined_characteristics doc}@anchor{273}@anchor{gnat_rm/implementation_defined_characteristics id1}@anchor{274}@anchor{gnat_rm/implementation_defined_characteristics implementation-defined-characteristics}@anchor{b} +@anchor{gnat_rm/implementation_defined_characteristics doc}@anchor{276}@anchor{gnat_rm/implementation_defined_characteristics id1}@anchor{277}@anchor{gnat_rm/implementation_defined_characteristics implementation-defined-characteristics}@anchor{b} @chapter Implementation Defined Characteristics @@ -16701,11 +16751,7 @@ may have been set by a call to @code{Ada.Command_Line.Set_Exit_Status}). “The mechanisms for building and running partitions. See 10.2(24).” @end itemize -GNAT itself supports programs with only a single partition. The GNATDIST -tool provided with the GLADE package (which also includes an implementation -of the PCS) provides a completely flexible method for building and running -programs consisting of multiple partitions. See the separate GLADE manual -for details. +GNAT itself supports programs with only a single partition. The PolyORB product (which also includes an implementation of the PCS) provides a completely flexible method for building and running programs consisting of multiple partitions. See the separate PolyORB user guide for details. @itemize * @@ -16726,7 +16772,7 @@ implementation. See 10.2(28).” @end itemize Passive partitions are supported on targets where shared memory is -provided by the operating system. See the GLADE reference manual for +provided by the operating system. See the PolyORB user guide for further details. @@ -16910,7 +16956,7 @@ See separate section on data representations. such aspects and the legality rules for such aspects. See 13.1.1(38).” @end itemize -See @ref{12e,,Implementation Defined Aspects}. +See @ref{130,,Implementation Defined Aspects}. @itemize * @@ -17354,7 +17400,7 @@ When the @code{Pattern} parameter is not the null string, it is interpreted according to the syntax of regular expressions as defined in the @code{GNAT.Regexp} package. -See @ref{275,,GNAT.Regexp (g-regexp.ads)}. +See @ref{278,,GNAT.Regexp (g-regexp.ads)}. @itemize * @@ -18112,8 +18158,8 @@ Unknown. programs. See E(5).” @end itemize -The GLADE package provides a utility GNATDIST for creating and executing -distributed programs. See the GLADE reference manual for further details. +The PolyORB product provides means creating and executing +distributed programs. See the PolyORB user guide for further details. @itemize * @@ -18123,7 +18169,7 @@ distributed programs. See the GLADE reference manual for further details. inaccessible. See E.1(7).” @end itemize -See the GLADE reference manual for full details on such events. +See the PolyORB user guide for full details on such events. @itemize * @@ -18133,7 +18179,7 @@ See the GLADE reference manual for full details on such events. shared resources between partitions in certain cases. See E.1(11).” @end itemize -See the GLADE reference manual for full details on these aspects of +See the PolyORB user guide for full details on these aspects of multi-partition execution. @@ -18144,7 +18190,7 @@ multi-partition execution. immediately aborted as a result of cancellation. See E.4(13).” @end itemize -See the GLADE reference manual for details on the effect of abort in +See the PolyORB user guide for details on the effect of abort in a distributed application. @@ -18163,7 +18209,7 @@ System.RPC.Partition_ID’Last is Integer’Last. See source file @code{s-rpc.ad “Implementation-defined interfaces in the PCS. See E.5(26).” @end itemize -See the GLADE reference manual for a full description of all +See the PolyORB user guide for a full description of all implementation defined interfaces. @@ -18452,7 +18498,7 @@ Information on those subjects is not yet available. Execution is erroneous in that case. @node Intrinsic Subprograms,Representation Clauses and Pragmas,Implementation Defined Characteristics,Top -@anchor{gnat_rm/intrinsic_subprograms doc}@anchor{276}@anchor{gnat_rm/intrinsic_subprograms id1}@anchor{277}@anchor{gnat_rm/intrinsic_subprograms intrinsic-subprograms}@anchor{c} +@anchor{gnat_rm/intrinsic_subprograms doc}@anchor{279}@anchor{gnat_rm/intrinsic_subprograms id1}@anchor{27a}@anchor{gnat_rm/intrinsic_subprograms intrinsic-subprograms}@anchor{c} @chapter Intrinsic Subprograms @@ -18490,7 +18536,7 @@ Ada standard does not require Ada compilers to implement this feature. @end menu @node Intrinsic Operators,Compilation_ISO_Date,,Intrinsic Subprograms -@anchor{gnat_rm/intrinsic_subprograms id2}@anchor{278}@anchor{gnat_rm/intrinsic_subprograms intrinsic-operators}@anchor{279} +@anchor{gnat_rm/intrinsic_subprograms id2}@anchor{27b}@anchor{gnat_rm/intrinsic_subprograms intrinsic-operators}@anchor{27c} @section Intrinsic Operators @@ -18521,7 +18567,7 @@ It is also possible to specify such operators for private types, if the full views are appropriate arithmetic types. @node Compilation_ISO_Date,Compilation_Date,Intrinsic Operators,Intrinsic Subprograms -@anchor{gnat_rm/intrinsic_subprograms compilation-iso-date}@anchor{27a}@anchor{gnat_rm/intrinsic_subprograms id3}@anchor{27b} +@anchor{gnat_rm/intrinsic_subprograms compilation-iso-date}@anchor{27d}@anchor{gnat_rm/intrinsic_subprograms id3}@anchor{27e} @section Compilation_ISO_Date @@ -18535,7 +18581,7 @@ application program should simply call the function the current compilation (in local time format YYYY-MM-DD). @node Compilation_Date,Compilation_Time,Compilation_ISO_Date,Intrinsic Subprograms -@anchor{gnat_rm/intrinsic_subprograms compilation-date}@anchor{27c}@anchor{gnat_rm/intrinsic_subprograms id4}@anchor{27d} +@anchor{gnat_rm/intrinsic_subprograms compilation-date}@anchor{27f}@anchor{gnat_rm/intrinsic_subprograms id4}@anchor{280} @section Compilation_Date @@ -18545,7 +18591,7 @@ Same as Compilation_ISO_Date, except the string is in the form MMM DD YYYY. @node Compilation_Time,Enclosing_Entity,Compilation_Date,Intrinsic Subprograms -@anchor{gnat_rm/intrinsic_subprograms compilation-time}@anchor{27e}@anchor{gnat_rm/intrinsic_subprograms id5}@anchor{27f} +@anchor{gnat_rm/intrinsic_subprograms compilation-time}@anchor{281}@anchor{gnat_rm/intrinsic_subprograms id5}@anchor{282} @section Compilation_Time @@ -18559,7 +18605,7 @@ application program should simply call the function the current compilation (in local time format HH:MM:SS). @node Enclosing_Entity,Exception_Information,Compilation_Time,Intrinsic Subprograms -@anchor{gnat_rm/intrinsic_subprograms enclosing-entity}@anchor{280}@anchor{gnat_rm/intrinsic_subprograms id6}@anchor{281} +@anchor{gnat_rm/intrinsic_subprograms enclosing-entity}@anchor{283}@anchor{gnat_rm/intrinsic_subprograms id6}@anchor{284} @section Enclosing_Entity @@ -18573,7 +18619,7 @@ application program should simply call the function the current subprogram, package, task, entry, or protected subprogram. @node Exception_Information,Exception_Message,Enclosing_Entity,Intrinsic Subprograms -@anchor{gnat_rm/intrinsic_subprograms exception-information}@anchor{282}@anchor{gnat_rm/intrinsic_subprograms id7}@anchor{283} +@anchor{gnat_rm/intrinsic_subprograms exception-information}@anchor{285}@anchor{gnat_rm/intrinsic_subprograms id7}@anchor{286} @section Exception_Information @@ -18587,7 +18633,7 @@ so an application program should simply call the function the exception information associated with the current exception. @node Exception_Message,Exception_Name,Exception_Information,Intrinsic Subprograms -@anchor{gnat_rm/intrinsic_subprograms exception-message}@anchor{284}@anchor{gnat_rm/intrinsic_subprograms id8}@anchor{285} +@anchor{gnat_rm/intrinsic_subprograms exception-message}@anchor{287}@anchor{gnat_rm/intrinsic_subprograms id8}@anchor{288} @section Exception_Message @@ -18601,7 +18647,7 @@ so an application program should simply call the function the message associated with the current exception. @node Exception_Name,File,Exception_Message,Intrinsic Subprograms -@anchor{gnat_rm/intrinsic_subprograms exception-name}@anchor{286}@anchor{gnat_rm/intrinsic_subprograms id9}@anchor{287} +@anchor{gnat_rm/intrinsic_subprograms exception-name}@anchor{289}@anchor{gnat_rm/intrinsic_subprograms id9}@anchor{28a} @section Exception_Name @@ -18615,7 +18661,7 @@ so an application program should simply call the function the name of the current exception. @node File,Line,Exception_Name,Intrinsic Subprograms -@anchor{gnat_rm/intrinsic_subprograms file}@anchor{288}@anchor{gnat_rm/intrinsic_subprograms id10}@anchor{289} +@anchor{gnat_rm/intrinsic_subprograms file}@anchor{28b}@anchor{gnat_rm/intrinsic_subprograms id10}@anchor{28c} @section File @@ -18629,7 +18675,7 @@ application program should simply call the function file. @node Line,Shifts and Rotates,File,Intrinsic Subprograms -@anchor{gnat_rm/intrinsic_subprograms id11}@anchor{28a}@anchor{gnat_rm/intrinsic_subprograms line}@anchor{28b} +@anchor{gnat_rm/intrinsic_subprograms id11}@anchor{28d}@anchor{gnat_rm/intrinsic_subprograms line}@anchor{28e} @section Line @@ -18643,7 +18689,7 @@ application program should simply call the function source line. @node Shifts and Rotates,Source_Location,Line,Intrinsic Subprograms -@anchor{gnat_rm/intrinsic_subprograms id12}@anchor{28c}@anchor{gnat_rm/intrinsic_subprograms shifts-and-rotates}@anchor{28d} +@anchor{gnat_rm/intrinsic_subprograms id12}@anchor{28f}@anchor{gnat_rm/intrinsic_subprograms shifts-and-rotates}@anchor{290} @section Shifts and Rotates @@ -18686,7 +18732,7 @@ corresponding operator for modular type. In particular, shifting a negative number may change its sign bit to positive. @node Source_Location,,Shifts and Rotates,Intrinsic Subprograms -@anchor{gnat_rm/intrinsic_subprograms id13}@anchor{28e}@anchor{gnat_rm/intrinsic_subprograms source-location}@anchor{28f} +@anchor{gnat_rm/intrinsic_subprograms id13}@anchor{291}@anchor{gnat_rm/intrinsic_subprograms source-location}@anchor{292} @section Source_Location @@ -18700,7 +18746,7 @@ application program should simply call the function source file location. @node Representation Clauses and Pragmas,Standard Library Routines,Intrinsic Subprograms,Top -@anchor{gnat_rm/representation_clauses_and_pragmas doc}@anchor{290}@anchor{gnat_rm/representation_clauses_and_pragmas id1}@anchor{291}@anchor{gnat_rm/representation_clauses_and_pragmas representation-clauses-and-pragmas}@anchor{d} +@anchor{gnat_rm/representation_clauses_and_pragmas doc}@anchor{293}@anchor{gnat_rm/representation_clauses_and_pragmas id1}@anchor{294}@anchor{gnat_rm/representation_clauses_and_pragmas representation-clauses-and-pragmas}@anchor{d} @chapter Representation Clauses and Pragmas @@ -18746,7 +18792,7 @@ and this section describes the additional capabilities provided. @end menu @node Alignment Clauses,Size Clauses,,Representation Clauses and Pragmas -@anchor{gnat_rm/representation_clauses_and_pragmas alignment-clauses}@anchor{292}@anchor{gnat_rm/representation_clauses_and_pragmas id2}@anchor{293} +@anchor{gnat_rm/representation_clauses_and_pragmas alignment-clauses}@anchor{295}@anchor{gnat_rm/representation_clauses_and_pragmas id2}@anchor{296} @section Alignment Clauses @@ -18768,7 +18814,7 @@ For elementary types, the alignment is the minimum of the actual size of objects of the type divided by @code{Storage_Unit}, and the maximum alignment supported by the target. (This maximum alignment is given by the GNAT-specific attribute -@code{Standard'Maximum_Alignment}; see @ref{1a2,,Attribute Maximum_Alignment}.) +@code{Standard'Maximum_Alignment}; see @ref{1a5,,Attribute Maximum_Alignment}.) @geindex Maximum_Alignment attribute @@ -18877,7 +18923,7 @@ assumption is non-portable, and other compilers may choose different alignments for the subtype @code{RS}. @node Size Clauses,Storage_Size Clauses,Alignment Clauses,Representation Clauses and Pragmas -@anchor{gnat_rm/representation_clauses_and_pragmas id3}@anchor{294}@anchor{gnat_rm/representation_clauses_and_pragmas size-clauses}@anchor{295} +@anchor{gnat_rm/representation_clauses_and_pragmas id3}@anchor{297}@anchor{gnat_rm/representation_clauses_and_pragmas size-clauses}@anchor{298} @section Size Clauses @@ -18954,7 +19000,7 @@ if it is known that a Size value can be accommodated in an object of type Integer. @node Storage_Size Clauses,Size of Variant Record Objects,Size Clauses,Representation Clauses and Pragmas -@anchor{gnat_rm/representation_clauses_and_pragmas id4}@anchor{296}@anchor{gnat_rm/representation_clauses_and_pragmas storage-size-clauses}@anchor{297} +@anchor{gnat_rm/representation_clauses_and_pragmas id4}@anchor{299}@anchor{gnat_rm/representation_clauses_and_pragmas storage-size-clauses}@anchor{29a} @section Storage_Size Clauses @@ -19027,7 +19073,7 @@ Of course in practice, there will not be any explicit allocators in the case of such an access declaration. @node Size of Variant Record Objects,Biased Representation,Storage_Size Clauses,Representation Clauses and Pragmas -@anchor{gnat_rm/representation_clauses_and_pragmas id5}@anchor{298}@anchor{gnat_rm/representation_clauses_and_pragmas size-of-variant-record-objects}@anchor{299} +@anchor{gnat_rm/representation_clauses_and_pragmas id5}@anchor{29b}@anchor{gnat_rm/representation_clauses_and_pragmas size-of-variant-record-objects}@anchor{29c} @section Size of Variant Record Objects @@ -19137,7 +19183,7 @@ the maximum size, regardless of the current variant value, the variant value. @node Biased Representation,Value_Size and Object_Size Clauses,Size of Variant Record Objects,Representation Clauses and Pragmas -@anchor{gnat_rm/representation_clauses_and_pragmas biased-representation}@anchor{29a}@anchor{gnat_rm/representation_clauses_and_pragmas id6}@anchor{29b} +@anchor{gnat_rm/representation_clauses_and_pragmas biased-representation}@anchor{29d}@anchor{gnat_rm/representation_clauses_and_pragmas id6}@anchor{29e} @section Biased Representation @@ -19175,7 +19221,7 @@ biased representation can be used for all discrete types except for enumeration types for which a representation clause is given. @node Value_Size and Object_Size Clauses,Component_Size Clauses,Biased Representation,Representation Clauses and Pragmas -@anchor{gnat_rm/representation_clauses_and_pragmas id7}@anchor{29c}@anchor{gnat_rm/representation_clauses_and_pragmas value-size-and-object-size-clauses}@anchor{29d} +@anchor{gnat_rm/representation_clauses_and_pragmas id7}@anchor{29f}@anchor{gnat_rm/representation_clauses_and_pragmas value-size-and-object-size-clauses}@anchor{2a0} @section Value_Size and Object_Size Clauses @@ -19491,7 +19537,7 @@ definition clause forces biased representation. This warning can be turned off using @code{-gnatw.B}. @node Component_Size Clauses,Bit_Order Clauses,Value_Size and Object_Size Clauses,Representation Clauses and Pragmas -@anchor{gnat_rm/representation_clauses_and_pragmas component-size-clauses}@anchor{29e}@anchor{gnat_rm/representation_clauses_and_pragmas id8}@anchor{29f} +@anchor{gnat_rm/representation_clauses_and_pragmas component-size-clauses}@anchor{2a1}@anchor{gnat_rm/representation_clauses_and_pragmas id8}@anchor{2a2} @section Component_Size Clauses @@ -19539,7 +19585,7 @@ and a pragma Pack for the same array type. if such duplicate clauses are given, the pragma Pack will be ignored. @node Bit_Order Clauses,Effect of Bit_Order on Byte Ordering,Component_Size Clauses,Representation Clauses and Pragmas -@anchor{gnat_rm/representation_clauses_and_pragmas bit-order-clauses}@anchor{2a0}@anchor{gnat_rm/representation_clauses_and_pragmas id9}@anchor{2a1} +@anchor{gnat_rm/representation_clauses_and_pragmas bit-order-clauses}@anchor{2a3}@anchor{gnat_rm/representation_clauses_and_pragmas id9}@anchor{2a4} @section Bit_Order Clauses @@ -19645,7 +19691,7 @@ if desired. The following section contains additional details regarding the issue of byte ordering. @node Effect of Bit_Order on Byte Ordering,Pragma Pack for Arrays,Bit_Order Clauses,Representation Clauses and Pragmas -@anchor{gnat_rm/representation_clauses_and_pragmas effect-of-bit-order-on-byte-ordering}@anchor{2a2}@anchor{gnat_rm/representation_clauses_and_pragmas id10}@anchor{2a3} +@anchor{gnat_rm/representation_clauses_and_pragmas effect-of-bit-order-on-byte-ordering}@anchor{2a5}@anchor{gnat_rm/representation_clauses_and_pragmas id10}@anchor{2a6} @section Effect of Bit_Order on Byte Ordering @@ -19902,7 +19948,7 @@ to set the boolean constant @code{Master_Byte_First} in an appropriate manner. @node Pragma Pack for Arrays,Pragma Pack for Records,Effect of Bit_Order on Byte Ordering,Representation Clauses and Pragmas -@anchor{gnat_rm/representation_clauses_and_pragmas id11}@anchor{2a4}@anchor{gnat_rm/representation_clauses_and_pragmas pragma-pack-for-arrays}@anchor{2a5} +@anchor{gnat_rm/representation_clauses_and_pragmas id11}@anchor{2a7}@anchor{gnat_rm/representation_clauses_and_pragmas pragma-pack-for-arrays}@anchor{2a8} @section Pragma Pack for Arrays @@ -20022,7 +20068,7 @@ Here 31-bit packing is achieved as required, and no warning is generated, since in this case the programmer intention is clear. @node Pragma Pack for Records,Record Representation Clauses,Pragma Pack for Arrays,Representation Clauses and Pragmas -@anchor{gnat_rm/representation_clauses_and_pragmas id12}@anchor{2a6}@anchor{gnat_rm/representation_clauses_and_pragmas pragma-pack-for-records}@anchor{2a7} +@anchor{gnat_rm/representation_clauses_and_pragmas id12}@anchor{2a9}@anchor{gnat_rm/representation_clauses_and_pragmas pragma-pack-for-records}@anchor{2aa} @section Pragma Pack for Records @@ -20106,7 +20152,7 @@ array that is longer than 64 bits, so it is itself non-packable on boundary, and takes an integral number of bytes, i.e., 72 bits. @node Record Representation Clauses,Handling of Records with Holes,Pragma Pack for Records,Representation Clauses and Pragmas -@anchor{gnat_rm/representation_clauses_and_pragmas id13}@anchor{2a8}@anchor{gnat_rm/representation_clauses_and_pragmas record-representation-clauses}@anchor{2a9} +@anchor{gnat_rm/representation_clauses_and_pragmas id13}@anchor{2ab}@anchor{gnat_rm/representation_clauses_and_pragmas record-representation-clauses}@anchor{2ac} @section Record Representation Clauses @@ -20185,7 +20231,7 @@ end record; @end example @node Handling of Records with Holes,Enumeration Clauses,Record Representation Clauses,Representation Clauses and Pragmas -@anchor{gnat_rm/representation_clauses_and_pragmas handling-of-records-with-holes}@anchor{2aa}@anchor{gnat_rm/representation_clauses_and_pragmas id14}@anchor{2ab} +@anchor{gnat_rm/representation_clauses_and_pragmas handling-of-records-with-holes}@anchor{2ad}@anchor{gnat_rm/representation_clauses_and_pragmas id14}@anchor{2ae} @section Handling of Records with Holes @@ -20261,7 +20307,7 @@ for Hrec'Size use 64; @end example @node Enumeration Clauses,Address Clauses,Handling of Records with Holes,Representation Clauses and Pragmas -@anchor{gnat_rm/representation_clauses_and_pragmas enumeration-clauses}@anchor{2ac}@anchor{gnat_rm/representation_clauses_and_pragmas id15}@anchor{2ad} +@anchor{gnat_rm/representation_clauses_and_pragmas enumeration-clauses}@anchor{2af}@anchor{gnat_rm/representation_clauses_and_pragmas id15}@anchor{2b0} @section Enumeration Clauses @@ -20304,7 +20350,7 @@ the overhead of converting representation values to the corresponding positional values, (i.e., the value delivered by the @code{Pos} attribute). @node Address Clauses,Use of Address Clauses for Memory-Mapped I/O,Enumeration Clauses,Representation Clauses and Pragmas -@anchor{gnat_rm/representation_clauses_and_pragmas address-clauses}@anchor{2ae}@anchor{gnat_rm/representation_clauses_and_pragmas id16}@anchor{2af} +@anchor{gnat_rm/representation_clauses_and_pragmas address-clauses}@anchor{2b1}@anchor{gnat_rm/representation_clauses_and_pragmas id16}@anchor{2b2} @section Address Clauses @@ -20644,7 +20690,7 @@ then the program compiles without the warning and when run will generate the output @code{X was not clobbered}. @node Use of Address Clauses for Memory-Mapped I/O,Effect of Convention on Representation,Address Clauses,Representation Clauses and Pragmas -@anchor{gnat_rm/representation_clauses_and_pragmas id17}@anchor{2b0}@anchor{gnat_rm/representation_clauses_and_pragmas use-of-address-clauses-for-memory-mapped-i-o}@anchor{2b1} +@anchor{gnat_rm/representation_clauses_and_pragmas id17}@anchor{2b3}@anchor{gnat_rm/representation_clauses_and_pragmas use-of-address-clauses-for-memory-mapped-i-o}@anchor{2b4} @section Use of Address Clauses for Memory-Mapped I/O @@ -20702,7 +20748,7 @@ provides the pragma @code{Volatile_Full_Access} which can be used in lieu of pragma @code{Atomic} and will give the additional guarantee. @node Effect of Convention on Representation,Conventions and Anonymous Access Types,Use of Address Clauses for Memory-Mapped I/O,Representation Clauses and Pragmas -@anchor{gnat_rm/representation_clauses_and_pragmas effect-of-convention-on-representation}@anchor{2b2}@anchor{gnat_rm/representation_clauses_and_pragmas id18}@anchor{2b3} +@anchor{gnat_rm/representation_clauses_and_pragmas effect-of-convention-on-representation}@anchor{2b5}@anchor{gnat_rm/representation_clauses_and_pragmas id18}@anchor{2b6} @section Effect of Convention on Representation @@ -20716,7 +20762,7 @@ conventions, and for example records are laid out in a manner that is consistent with C. This means that specifying convention C (for example) has no effect. -There are four exceptions to this general rule: +There are three exceptions to this general rule: @itemize * @@ -20780,7 +20826,7 @@ when one of these values is read, any nonzero value is treated as True. @end itemize @node Conventions and Anonymous Access Types,Determining the Representations chosen by GNAT,Effect of Convention on Representation,Representation Clauses and Pragmas -@anchor{gnat_rm/representation_clauses_and_pragmas conventions-and-anonymous-access-types}@anchor{2b4}@anchor{gnat_rm/representation_clauses_and_pragmas id19}@anchor{2b5} +@anchor{gnat_rm/representation_clauses_and_pragmas conventions-and-anonymous-access-types}@anchor{2b7}@anchor{gnat_rm/representation_clauses_and_pragmas id19}@anchor{2b8} @section Conventions and Anonymous Access Types @@ -20856,7 +20902,7 @@ package ConvComp is @end example @node Determining the Representations chosen by GNAT,,Conventions and Anonymous Access Types,Representation Clauses and Pragmas -@anchor{gnat_rm/representation_clauses_and_pragmas determining-the-representations-chosen-by-gnat}@anchor{2b6}@anchor{gnat_rm/representation_clauses_and_pragmas id20}@anchor{2b7} +@anchor{gnat_rm/representation_clauses_and_pragmas determining-the-representations-chosen-by-gnat}@anchor{2b9}@anchor{gnat_rm/representation_clauses_and_pragmas id20}@anchor{2ba} @section Determining the Representations chosen by GNAT @@ -21008,7 +21054,7 @@ generated by the compiler into the original source to fix and guarantee the actual representation to be used. @node Standard Library Routines,The Implementation of Standard I/O,Representation Clauses and Pragmas,Top -@anchor{gnat_rm/standard_library_routines doc}@anchor{2b8}@anchor{gnat_rm/standard_library_routines id1}@anchor{2b9}@anchor{gnat_rm/standard_library_routines standard-library-routines}@anchor{e} +@anchor{gnat_rm/standard_library_routines doc}@anchor{2bb}@anchor{gnat_rm/standard_library_routines id1}@anchor{2bc}@anchor{gnat_rm/standard_library_routines standard-library-routines}@anchor{e} @chapter Standard Library Routines @@ -21835,7 +21881,7 @@ For packages in Interfaces and System, all the RM defined packages are available in GNAT, see the Ada 2012 RM for full details. @node The Implementation of Standard I/O,The GNAT Library,Standard Library Routines,Top -@anchor{gnat_rm/the_implementation_of_standard_i_o doc}@anchor{2ba}@anchor{gnat_rm/the_implementation_of_standard_i_o id1}@anchor{2bb}@anchor{gnat_rm/the_implementation_of_standard_i_o the-implementation-of-standard-i-o}@anchor{f} +@anchor{gnat_rm/the_implementation_of_standard_i_o doc}@anchor{2bd}@anchor{gnat_rm/the_implementation_of_standard_i_o id1}@anchor{2be}@anchor{gnat_rm/the_implementation_of_standard_i_o the-implementation-of-standard-i-o}@anchor{f} @chapter The Implementation of Standard I/O @@ -21887,7 +21933,7 @@ these additional facilities are also described in this chapter. @end menu @node Standard I/O Packages,FORM Strings,,The Implementation of Standard I/O -@anchor{gnat_rm/the_implementation_of_standard_i_o id2}@anchor{2bc}@anchor{gnat_rm/the_implementation_of_standard_i_o standard-i-o-packages}@anchor{2bd} +@anchor{gnat_rm/the_implementation_of_standard_i_o id2}@anchor{2bf}@anchor{gnat_rm/the_implementation_of_standard_i_o standard-i-o-packages}@anchor{2c0} @section Standard I/O Packages @@ -21958,7 +22004,7 @@ flush the common I/O streams and in particular Standard_Output before elaborating the Ada code. @node FORM Strings,Direct_IO,Standard I/O Packages,The Implementation of Standard I/O -@anchor{gnat_rm/the_implementation_of_standard_i_o form-strings}@anchor{2be}@anchor{gnat_rm/the_implementation_of_standard_i_o id3}@anchor{2bf} +@anchor{gnat_rm/the_implementation_of_standard_i_o form-strings}@anchor{2c1}@anchor{gnat_rm/the_implementation_of_standard_i_o id3}@anchor{2c2} @section FORM Strings @@ -21984,7 +22030,7 @@ unrecognized keyword appears in a form string, it is silently ignored and not considered invalid. @node Direct_IO,Sequential_IO,FORM Strings,The Implementation of Standard I/O -@anchor{gnat_rm/the_implementation_of_standard_i_o direct-io}@anchor{2c0}@anchor{gnat_rm/the_implementation_of_standard_i_o id4}@anchor{2c1} +@anchor{gnat_rm/the_implementation_of_standard_i_o direct-io}@anchor{2c3}@anchor{gnat_rm/the_implementation_of_standard_i_o id4}@anchor{2c4} @section Direct_IO @@ -22003,7 +22049,7 @@ There is no limit on the size of Direct_IO files, they are expanded as necessary to accommodate whatever records are written to the file. @node Sequential_IO,Text_IO,Direct_IO,The Implementation of Standard I/O -@anchor{gnat_rm/the_implementation_of_standard_i_o id5}@anchor{2c2}@anchor{gnat_rm/the_implementation_of_standard_i_o sequential-io}@anchor{2c3} +@anchor{gnat_rm/the_implementation_of_standard_i_o id5}@anchor{2c5}@anchor{gnat_rm/the_implementation_of_standard_i_o sequential-io}@anchor{2c6} @section Sequential_IO @@ -22050,7 +22096,7 @@ using Stream_IO, and this is the preferred mechanism. In particular, the above program fragment rewritten to use Stream_IO will work correctly. @node Text_IO,Wide_Text_IO,Sequential_IO,The Implementation of Standard I/O -@anchor{gnat_rm/the_implementation_of_standard_i_o id6}@anchor{2c4}@anchor{gnat_rm/the_implementation_of_standard_i_o text-io}@anchor{2c5} +@anchor{gnat_rm/the_implementation_of_standard_i_o id6}@anchor{2c7}@anchor{gnat_rm/the_implementation_of_standard_i_o text-io}@anchor{2c8} @section Text_IO @@ -22133,7 +22179,7 @@ the file. @end menu @node Stream Pointer Positioning,Reading and Writing Non-Regular Files,,Text_IO -@anchor{gnat_rm/the_implementation_of_standard_i_o id7}@anchor{2c6}@anchor{gnat_rm/the_implementation_of_standard_i_o stream-pointer-positioning}@anchor{2c7} +@anchor{gnat_rm/the_implementation_of_standard_i_o id7}@anchor{2c9}@anchor{gnat_rm/the_implementation_of_standard_i_o stream-pointer-positioning}@anchor{2ca} @subsection Stream Pointer Positioning @@ -22169,7 +22215,7 @@ between two Ada files, then the difference may be observable in some situations. @node Reading and Writing Non-Regular Files,Get_Immediate,Stream Pointer Positioning,Text_IO -@anchor{gnat_rm/the_implementation_of_standard_i_o id8}@anchor{2c8}@anchor{gnat_rm/the_implementation_of_standard_i_o reading-and-writing-non-regular-files}@anchor{2c9} +@anchor{gnat_rm/the_implementation_of_standard_i_o id8}@anchor{2cb}@anchor{gnat_rm/the_implementation_of_standard_i_o reading-and-writing-non-regular-files}@anchor{2cc} @subsection Reading and Writing Non-Regular Files @@ -22220,7 +22266,7 @@ to read data past that end of file indication, until another end of file indication is entered. @node Get_Immediate,Treating Text_IO Files as Streams,Reading and Writing Non-Regular Files,Text_IO -@anchor{gnat_rm/the_implementation_of_standard_i_o get-immediate}@anchor{2ca}@anchor{gnat_rm/the_implementation_of_standard_i_o id9}@anchor{2cb} +@anchor{gnat_rm/the_implementation_of_standard_i_o get-immediate}@anchor{2cd}@anchor{gnat_rm/the_implementation_of_standard_i_o id9}@anchor{2ce} @subsection Get_Immediate @@ -22238,7 +22284,7 @@ possible), it is undefined whether the FF character will be treated as a page mark. @node Treating Text_IO Files as Streams,Text_IO Extensions,Get_Immediate,Text_IO -@anchor{gnat_rm/the_implementation_of_standard_i_o id10}@anchor{2cc}@anchor{gnat_rm/the_implementation_of_standard_i_o treating-text-io-files-as-streams}@anchor{2cd} +@anchor{gnat_rm/the_implementation_of_standard_i_o id10}@anchor{2cf}@anchor{gnat_rm/the_implementation_of_standard_i_o treating-text-io-files-as-streams}@anchor{2d0} @subsection Treating Text_IO Files as Streams @@ -22254,7 +22300,7 @@ skipped and the effect is similar to that described above for @code{Get_Immediate}. @node Text_IO Extensions,Text_IO Facilities for Unbounded Strings,Treating Text_IO Files as Streams,Text_IO -@anchor{gnat_rm/the_implementation_of_standard_i_o id11}@anchor{2ce}@anchor{gnat_rm/the_implementation_of_standard_i_o text-io-extensions}@anchor{2cf} +@anchor{gnat_rm/the_implementation_of_standard_i_o id11}@anchor{2d1}@anchor{gnat_rm/the_implementation_of_standard_i_o text-io-extensions}@anchor{2d2} @subsection Text_IO Extensions @@ -22282,7 +22328,7 @@ the string is to be read. @end itemize @node Text_IO Facilities for Unbounded Strings,,Text_IO Extensions,Text_IO -@anchor{gnat_rm/the_implementation_of_standard_i_o id12}@anchor{2d0}@anchor{gnat_rm/the_implementation_of_standard_i_o text-io-facilities-for-unbounded-strings}@anchor{2d1} +@anchor{gnat_rm/the_implementation_of_standard_i_o id12}@anchor{2d3}@anchor{gnat_rm/the_implementation_of_standard_i_o text-io-facilities-for-unbounded-strings}@anchor{2d4} @subsection Text_IO Facilities for Unbounded Strings @@ -22330,7 +22376,7 @@ files @code{a-szuzti.ads} and @code{a-szuzti.adb} provides similar extended @code{Wide_Wide_Text_IO} functionality for unbounded wide wide strings. @node Wide_Text_IO,Wide_Wide_Text_IO,Text_IO,The Implementation of Standard I/O -@anchor{gnat_rm/the_implementation_of_standard_i_o id13}@anchor{2d2}@anchor{gnat_rm/the_implementation_of_standard_i_o wide-text-io}@anchor{2d3} +@anchor{gnat_rm/the_implementation_of_standard_i_o id13}@anchor{2d5}@anchor{gnat_rm/the_implementation_of_standard_i_o wide-text-io}@anchor{2d6} @section Wide_Text_IO @@ -22577,12 +22623,12 @@ input also causes Constraint_Error to be raised. @end menu @node Stream Pointer Positioning<2>,Reading and Writing Non-Regular Files<2>,,Wide_Text_IO -@anchor{gnat_rm/the_implementation_of_standard_i_o id14}@anchor{2d4}@anchor{gnat_rm/the_implementation_of_standard_i_o stream-pointer-positioning-1}@anchor{2d5} +@anchor{gnat_rm/the_implementation_of_standard_i_o id14}@anchor{2d7}@anchor{gnat_rm/the_implementation_of_standard_i_o stream-pointer-positioning-1}@anchor{2d8} @subsection Stream Pointer Positioning @code{Ada.Wide_Text_IO} is similar to @code{Ada.Text_IO} in its handling -of stream pointer positioning (@ref{2c5,,Text_IO}). There is one additional +of stream pointer positioning (@ref{2c8,,Text_IO}). There is one additional case: If @code{Ada.Wide_Text_IO.Look_Ahead} reads a character outside the @@ -22601,7 +22647,7 @@ to a normal program using @code{Wide_Text_IO}. However, this discrepancy can be observed if the wide text file shares a stream with another file. @node Reading and Writing Non-Regular Files<2>,,Stream Pointer Positioning<2>,Wide_Text_IO -@anchor{gnat_rm/the_implementation_of_standard_i_o id15}@anchor{2d6}@anchor{gnat_rm/the_implementation_of_standard_i_o reading-and-writing-non-regular-files-1}@anchor{2d7} +@anchor{gnat_rm/the_implementation_of_standard_i_o id15}@anchor{2d9}@anchor{gnat_rm/the_implementation_of_standard_i_o reading-and-writing-non-regular-files-1}@anchor{2da} @subsection Reading and Writing Non-Regular Files @@ -22612,7 +22658,7 @@ treated as data characters), and @code{End_Of_Page} always returns it is possible to read beyond an end of file. @node Wide_Wide_Text_IO,Stream_IO,Wide_Text_IO,The Implementation of Standard I/O -@anchor{gnat_rm/the_implementation_of_standard_i_o id16}@anchor{2d8}@anchor{gnat_rm/the_implementation_of_standard_i_o wide-wide-text-io}@anchor{2d9} +@anchor{gnat_rm/the_implementation_of_standard_i_o id16}@anchor{2db}@anchor{gnat_rm/the_implementation_of_standard_i_o wide-wide-text-io}@anchor{2dc} @section Wide_Wide_Text_IO @@ -22781,12 +22827,12 @@ input also causes Constraint_Error to be raised. @end menu @node Stream Pointer Positioning<3>,Reading and Writing Non-Regular Files<3>,,Wide_Wide_Text_IO -@anchor{gnat_rm/the_implementation_of_standard_i_o id17}@anchor{2da}@anchor{gnat_rm/the_implementation_of_standard_i_o stream-pointer-positioning-2}@anchor{2db} +@anchor{gnat_rm/the_implementation_of_standard_i_o id17}@anchor{2dd}@anchor{gnat_rm/the_implementation_of_standard_i_o stream-pointer-positioning-2}@anchor{2de} @subsection Stream Pointer Positioning @code{Ada.Wide_Wide_Text_IO} is similar to @code{Ada.Text_IO} in its handling -of stream pointer positioning (@ref{2c5,,Text_IO}). There is one additional +of stream pointer positioning (@ref{2c8,,Text_IO}). There is one additional case: If @code{Ada.Wide_Wide_Text_IO.Look_Ahead} reads a character outside the @@ -22805,7 +22851,7 @@ to a normal program using @code{Wide_Wide_Text_IO}. However, this discrepancy can be observed if the wide text file shares a stream with another file. @node Reading and Writing Non-Regular Files<3>,,Stream Pointer Positioning<3>,Wide_Wide_Text_IO -@anchor{gnat_rm/the_implementation_of_standard_i_o id18}@anchor{2dc}@anchor{gnat_rm/the_implementation_of_standard_i_o reading-and-writing-non-regular-files-2}@anchor{2dd} +@anchor{gnat_rm/the_implementation_of_standard_i_o id18}@anchor{2df}@anchor{gnat_rm/the_implementation_of_standard_i_o reading-and-writing-non-regular-files-2}@anchor{2e0} @subsection Reading and Writing Non-Regular Files @@ -22816,7 +22862,7 @@ treated as data characters), and @code{End_Of_Page} always returns it is possible to read beyond an end of file. @node Stream_IO,Text Translation,Wide_Wide_Text_IO,The Implementation of Standard I/O -@anchor{gnat_rm/the_implementation_of_standard_i_o id19}@anchor{2de}@anchor{gnat_rm/the_implementation_of_standard_i_o stream-io}@anchor{2df} +@anchor{gnat_rm/the_implementation_of_standard_i_o id19}@anchor{2e1}@anchor{gnat_rm/the_implementation_of_standard_i_o stream-io}@anchor{2e2} @section Stream_IO @@ -22838,7 +22884,7 @@ manner described for stream attributes. @end itemize @node Text Translation,Shared Files,Stream_IO,The Implementation of Standard I/O -@anchor{gnat_rm/the_implementation_of_standard_i_o id20}@anchor{2e0}@anchor{gnat_rm/the_implementation_of_standard_i_o text-translation}@anchor{2e1} +@anchor{gnat_rm/the_implementation_of_standard_i_o id20}@anchor{2e3}@anchor{gnat_rm/the_implementation_of_standard_i_o text-translation}@anchor{2e4} @section Text Translation @@ -22872,7 +22918,7 @@ mode. (corresponds to_O_U16TEXT). @end itemize @node Shared Files,Filenames encoding,Text Translation,The Implementation of Standard I/O -@anchor{gnat_rm/the_implementation_of_standard_i_o id21}@anchor{2e2}@anchor{gnat_rm/the_implementation_of_standard_i_o shared-files}@anchor{2e3} +@anchor{gnat_rm/the_implementation_of_standard_i_o id21}@anchor{2e5}@anchor{gnat_rm/the_implementation_of_standard_i_o shared-files}@anchor{2e6} @section Shared Files @@ -22935,7 +22981,7 @@ heterogeneous input-output. Although this approach will work in GNAT if for this purpose (using the stream attributes). @node Filenames encoding,File content encoding,Shared Files,The Implementation of Standard I/O -@anchor{gnat_rm/the_implementation_of_standard_i_o filenames-encoding}@anchor{2e4}@anchor{gnat_rm/the_implementation_of_standard_i_o id22}@anchor{2e5} +@anchor{gnat_rm/the_implementation_of_standard_i_o filenames-encoding}@anchor{2e7}@anchor{gnat_rm/the_implementation_of_standard_i_o id22}@anchor{2e8} @section Filenames encoding @@ -22975,7 +23021,7 @@ platform. On the other Operating Systems the run-time is supporting UTF-8 natively. @node File content encoding,Open Modes,Filenames encoding,The Implementation of Standard I/O -@anchor{gnat_rm/the_implementation_of_standard_i_o file-content-encoding}@anchor{2e6}@anchor{gnat_rm/the_implementation_of_standard_i_o id23}@anchor{2e7} +@anchor{gnat_rm/the_implementation_of_standard_i_o file-content-encoding}@anchor{2e9}@anchor{gnat_rm/the_implementation_of_standard_i_o id23}@anchor{2ea} @section File content encoding @@ -23008,7 +23054,7 @@ Unicode 8-bit encoding This encoding is only supported on the Windows platform. @node Open Modes,Operations on C Streams,File content encoding,The Implementation of Standard I/O -@anchor{gnat_rm/the_implementation_of_standard_i_o id24}@anchor{2e8}@anchor{gnat_rm/the_implementation_of_standard_i_o open-modes}@anchor{2e9} +@anchor{gnat_rm/the_implementation_of_standard_i_o id24}@anchor{2eb}@anchor{gnat_rm/the_implementation_of_standard_i_o open-modes}@anchor{2ec} @section Open Modes @@ -23111,7 +23157,7 @@ subsequently requires switching from reading to writing or vice-versa, then the file is reopened in @code{r+} mode to permit the required operation. @node Operations on C Streams,Interfacing to C Streams,Open Modes,The Implementation of Standard I/O -@anchor{gnat_rm/the_implementation_of_standard_i_o id25}@anchor{2ea}@anchor{gnat_rm/the_implementation_of_standard_i_o operations-on-c-streams}@anchor{2eb} +@anchor{gnat_rm/the_implementation_of_standard_i_o id25}@anchor{2ed}@anchor{gnat_rm/the_implementation_of_standard_i_o operations-on-c-streams}@anchor{2ee} @section Operations on C Streams @@ -23271,7 +23317,7 @@ end Interfaces.C_Streams; @end example @node Interfacing to C Streams,,Operations on C Streams,The Implementation of Standard I/O -@anchor{gnat_rm/the_implementation_of_standard_i_o id26}@anchor{2ec}@anchor{gnat_rm/the_implementation_of_standard_i_o interfacing-to-c-streams}@anchor{2ed} +@anchor{gnat_rm/the_implementation_of_standard_i_o id26}@anchor{2ef}@anchor{gnat_rm/the_implementation_of_standard_i_o interfacing-to-c-streams}@anchor{2f0} @section Interfacing to C Streams @@ -23364,7 +23410,7 @@ imported from a C program, allowing an Ada file to operate on an existing C file. @node The GNAT Library,Interfacing to Other Languages,The Implementation of Standard I/O,Top -@anchor{gnat_rm/the_gnat_library doc}@anchor{2ee}@anchor{gnat_rm/the_gnat_library id1}@anchor{2ef}@anchor{gnat_rm/the_gnat_library the-gnat-library}@anchor{10} +@anchor{gnat_rm/the_gnat_library doc}@anchor{2f1}@anchor{gnat_rm/the_gnat_library id1}@anchor{2f2}@anchor{gnat_rm/the_gnat_library the-gnat-library}@anchor{10} @chapter The GNAT Library @@ -23549,7 +23595,7 @@ of GNAT, and will generate a warning message. @end menu @node Ada Characters Latin_9 a-chlat9 ads,Ada Characters Wide_Latin_1 a-cwila1 ads,,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-characters-latin-9-a-chlat9-ads}@anchor{2f0}@anchor{gnat_rm/the_gnat_library id2}@anchor{2f1} +@anchor{gnat_rm/the_gnat_library ada-characters-latin-9-a-chlat9-ads}@anchor{2f3}@anchor{gnat_rm/the_gnat_library id2}@anchor{2f4} @section @code{Ada.Characters.Latin_9} (@code{a-chlat9.ads}) @@ -23566,7 +23612,7 @@ is specifically authorized by the Ada Reference Manual (RM A.3.3(27)). @node Ada Characters Wide_Latin_1 a-cwila1 ads,Ada Characters Wide_Latin_9 a-cwila9 ads,Ada Characters Latin_9 a-chlat9 ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-characters-wide-latin-1-a-cwila1-ads}@anchor{2f2}@anchor{gnat_rm/the_gnat_library id3}@anchor{2f3} +@anchor{gnat_rm/the_gnat_library ada-characters-wide-latin-1-a-cwila1-ads}@anchor{2f5}@anchor{gnat_rm/the_gnat_library id3}@anchor{2f6} @section @code{Ada.Characters.Wide_Latin_1} (@code{a-cwila1.ads}) @@ -23583,7 +23629,7 @@ is specifically authorized by the Ada Reference Manual (RM A.3.3(27)). @node Ada Characters Wide_Latin_9 a-cwila9 ads,Ada Characters Wide_Wide_Latin_1 a-chzla1 ads,Ada Characters Wide_Latin_1 a-cwila1 ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-characters-wide-latin-9-a-cwila9-ads}@anchor{2f4}@anchor{gnat_rm/the_gnat_library id4}@anchor{2f5} +@anchor{gnat_rm/the_gnat_library ada-characters-wide-latin-9-a-cwila9-ads}@anchor{2f7}@anchor{gnat_rm/the_gnat_library id4}@anchor{2f8} @section @code{Ada.Characters.Wide_Latin_9} (@code{a-cwila9.ads}) @@ -23600,7 +23646,7 @@ is specifically authorized by the Ada Reference Manual (RM A.3.3(27)). @node Ada Characters Wide_Wide_Latin_1 a-chzla1 ads,Ada Characters Wide_Wide_Latin_9 a-chzla9 ads,Ada Characters Wide_Latin_9 a-cwila9 ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-characters-wide-wide-latin-1-a-chzla1-ads}@anchor{2f6}@anchor{gnat_rm/the_gnat_library id5}@anchor{2f7} +@anchor{gnat_rm/the_gnat_library ada-characters-wide-wide-latin-1-a-chzla1-ads}@anchor{2f9}@anchor{gnat_rm/the_gnat_library id5}@anchor{2fa} @section @code{Ada.Characters.Wide_Wide_Latin_1} (@code{a-chzla1.ads}) @@ -23617,7 +23663,7 @@ is specifically authorized by the Ada Reference Manual (RM A.3.3(27)). @node Ada Characters Wide_Wide_Latin_9 a-chzla9 ads,Ada Containers Bounded_Holders a-coboho ads,Ada Characters Wide_Wide_Latin_1 a-chzla1 ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-characters-wide-wide-latin-9-a-chzla9-ads}@anchor{2f8}@anchor{gnat_rm/the_gnat_library id6}@anchor{2f9} +@anchor{gnat_rm/the_gnat_library ada-characters-wide-wide-latin-9-a-chzla9-ads}@anchor{2fb}@anchor{gnat_rm/the_gnat_library id6}@anchor{2fc} @section @code{Ada.Characters.Wide_Wide_Latin_9} (@code{a-chzla9.ads}) @@ -23634,7 +23680,7 @@ is specifically authorized by the Ada Reference Manual (RM A.3.3(27)). @node Ada Containers Bounded_Holders a-coboho ads,Ada Command_Line Environment a-colien ads,Ada Characters Wide_Wide_Latin_9 a-chzla9 ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-containers-bounded-holders-a-coboho-ads}@anchor{2fa}@anchor{gnat_rm/the_gnat_library id7}@anchor{2fb} +@anchor{gnat_rm/the_gnat_library ada-containers-bounded-holders-a-coboho-ads}@anchor{2fd}@anchor{gnat_rm/the_gnat_library id7}@anchor{2fe} @section @code{Ada.Containers.Bounded_Holders} (@code{a-coboho.ads}) @@ -23646,7 +23692,7 @@ This child of @code{Ada.Containers} defines a modified version of Indefinite_Holders that avoids heap allocation. @node Ada Command_Line Environment a-colien ads,Ada Command_Line Remove a-colire ads,Ada Containers Bounded_Holders a-coboho ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-command-line-environment-a-colien-ads}@anchor{2fc}@anchor{gnat_rm/the_gnat_library id8}@anchor{2fd} +@anchor{gnat_rm/the_gnat_library ada-command-line-environment-a-colien-ads}@anchor{2ff}@anchor{gnat_rm/the_gnat_library id8}@anchor{300} @section @code{Ada.Command_Line.Environment} (@code{a-colien.ads}) @@ -23659,7 +23705,7 @@ provides a mechanism for obtaining environment values on systems where this concept makes sense. @node Ada Command_Line Remove a-colire ads,Ada Command_Line Response_File a-clrefi ads,Ada Command_Line Environment a-colien ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-command-line-remove-a-colire-ads}@anchor{2fe}@anchor{gnat_rm/the_gnat_library id9}@anchor{2ff} +@anchor{gnat_rm/the_gnat_library ada-command-line-remove-a-colire-ads}@anchor{301}@anchor{gnat_rm/the_gnat_library id9}@anchor{302} @section @code{Ada.Command_Line.Remove} (@code{a-colire.ads}) @@ -23677,7 +23723,7 @@ to further calls to the subprograms in @code{Ada.Command_Line}. These calls will not see the removed argument. @node Ada Command_Line Response_File a-clrefi ads,Ada Direct_IO C_Streams a-diocst ads,Ada Command_Line Remove a-colire ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-command-line-response-file-a-clrefi-ads}@anchor{300}@anchor{gnat_rm/the_gnat_library id10}@anchor{301} +@anchor{gnat_rm/the_gnat_library ada-command-line-response-file-a-clrefi-ads}@anchor{303}@anchor{gnat_rm/the_gnat_library id10}@anchor{304} @section @code{Ada.Command_Line.Response_File} (@code{a-clrefi.ads}) @@ -23697,7 +23743,7 @@ Using a response file allow passing a set of arguments to an executable longer than the maximum allowed by the system on the command line. @node Ada Direct_IO C_Streams a-diocst ads,Ada Exceptions Is_Null_Occurrence a-einuoc ads,Ada Command_Line Response_File a-clrefi ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-direct-io-c-streams-a-diocst-ads}@anchor{302}@anchor{gnat_rm/the_gnat_library id11}@anchor{303} +@anchor{gnat_rm/the_gnat_library ada-direct-io-c-streams-a-diocst-ads}@anchor{305}@anchor{gnat_rm/the_gnat_library id11}@anchor{306} @section @code{Ada.Direct_IO.C_Streams} (@code{a-diocst.ads}) @@ -23712,7 +23758,7 @@ extracted from a file opened on the Ada side, and an Ada file can be constructed from a stream opened on the C side. @node Ada Exceptions Is_Null_Occurrence a-einuoc ads,Ada Exceptions Last_Chance_Handler a-elchha ads,Ada Direct_IO C_Streams a-diocst ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-exceptions-is-null-occurrence-a-einuoc-ads}@anchor{304}@anchor{gnat_rm/the_gnat_library id12}@anchor{305} +@anchor{gnat_rm/the_gnat_library ada-exceptions-is-null-occurrence-a-einuoc-ads}@anchor{307}@anchor{gnat_rm/the_gnat_library id12}@anchor{308} @section @code{Ada.Exceptions.Is_Null_Occurrence} (@code{a-einuoc.ads}) @@ -23726,7 +23772,7 @@ exception occurrence (@code{Null_Occurrence}) without raising an exception. @node Ada Exceptions Last_Chance_Handler a-elchha ads,Ada Exceptions Traceback a-exctra ads,Ada Exceptions Is_Null_Occurrence a-einuoc ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-exceptions-last-chance-handler-a-elchha-ads}@anchor{306}@anchor{gnat_rm/the_gnat_library id13}@anchor{307} +@anchor{gnat_rm/the_gnat_library ada-exceptions-last-chance-handler-a-elchha-ads}@anchor{309}@anchor{gnat_rm/the_gnat_library id13}@anchor{30a} @section @code{Ada.Exceptions.Last_Chance_Handler} (@code{a-elchha.ads}) @@ -23740,7 +23786,7 @@ exceptions (hence the name last chance), and perform clean ups before terminating the program. Note that this subprogram never returns. @node Ada Exceptions Traceback a-exctra ads,Ada Sequential_IO C_Streams a-siocst ads,Ada Exceptions Last_Chance_Handler a-elchha ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-exceptions-traceback-a-exctra-ads}@anchor{308}@anchor{gnat_rm/the_gnat_library id14}@anchor{309} +@anchor{gnat_rm/the_gnat_library ada-exceptions-traceback-a-exctra-ads}@anchor{30b}@anchor{gnat_rm/the_gnat_library id14}@anchor{30c} @section @code{Ada.Exceptions.Traceback} (@code{a-exctra.ads}) @@ -23753,7 +23799,7 @@ give a traceback array of addresses based on an exception occurrence. @node Ada Sequential_IO C_Streams a-siocst ads,Ada Streams Stream_IO C_Streams a-ssicst ads,Ada Exceptions Traceback a-exctra ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-sequential-io-c-streams-a-siocst-ads}@anchor{30a}@anchor{gnat_rm/the_gnat_library id15}@anchor{30b} +@anchor{gnat_rm/the_gnat_library ada-sequential-io-c-streams-a-siocst-ads}@anchor{30d}@anchor{gnat_rm/the_gnat_library id15}@anchor{30e} @section @code{Ada.Sequential_IO.C_Streams} (@code{a-siocst.ads}) @@ -23768,7 +23814,7 @@ extracted from a file opened on the Ada side, and an Ada file can be constructed from a stream opened on the C side. @node Ada Streams Stream_IO C_Streams a-ssicst ads,Ada Strings Unbounded Text_IO a-suteio ads,Ada Sequential_IO C_Streams a-siocst ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-streams-stream-io-c-streams-a-ssicst-ads}@anchor{30c}@anchor{gnat_rm/the_gnat_library id16}@anchor{30d} +@anchor{gnat_rm/the_gnat_library ada-streams-stream-io-c-streams-a-ssicst-ads}@anchor{30f}@anchor{gnat_rm/the_gnat_library id16}@anchor{310} @section @code{Ada.Streams.Stream_IO.C_Streams} (@code{a-ssicst.ads}) @@ -23783,7 +23829,7 @@ extracted from a file opened on the Ada side, and an Ada file can be constructed from a stream opened on the C side. @node Ada Strings Unbounded Text_IO a-suteio ads,Ada Strings Wide_Unbounded Wide_Text_IO a-swuwti ads,Ada Streams Stream_IO C_Streams a-ssicst ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-strings-unbounded-text-io-a-suteio-ads}@anchor{30e}@anchor{gnat_rm/the_gnat_library id17}@anchor{30f} +@anchor{gnat_rm/the_gnat_library ada-strings-unbounded-text-io-a-suteio-ads}@anchor{311}@anchor{gnat_rm/the_gnat_library id17}@anchor{312} @section @code{Ada.Strings.Unbounded.Text_IO} (@code{a-suteio.ads}) @@ -23800,7 +23846,7 @@ strings, avoiding the necessity for an intermediate operation with ordinary strings. @node Ada Strings Wide_Unbounded Wide_Text_IO a-swuwti ads,Ada Strings Wide_Wide_Unbounded Wide_Wide_Text_IO a-szuzti ads,Ada Strings Unbounded Text_IO a-suteio ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-strings-wide-unbounded-wide-text-io-a-swuwti-ads}@anchor{310}@anchor{gnat_rm/the_gnat_library id18}@anchor{311} +@anchor{gnat_rm/the_gnat_library ada-strings-wide-unbounded-wide-text-io-a-swuwti-ads}@anchor{313}@anchor{gnat_rm/the_gnat_library id18}@anchor{314} @section @code{Ada.Strings.Wide_Unbounded.Wide_Text_IO} (@code{a-swuwti.ads}) @@ -23817,7 +23863,7 @@ wide strings, avoiding the necessity for an intermediate operation with ordinary wide strings. @node Ada Strings Wide_Wide_Unbounded Wide_Wide_Text_IO a-szuzti ads,Ada Task_Initialization a-tasini ads,Ada Strings Wide_Unbounded Wide_Text_IO a-swuwti ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-strings-wide-wide-unbounded-wide-wide-text-io-a-szuzti-ads}@anchor{312}@anchor{gnat_rm/the_gnat_library id19}@anchor{313} +@anchor{gnat_rm/the_gnat_library ada-strings-wide-wide-unbounded-wide-wide-text-io-a-szuzti-ads}@anchor{315}@anchor{gnat_rm/the_gnat_library id19}@anchor{316} @section @code{Ada.Strings.Wide_Wide_Unbounded.Wide_Wide_Text_IO} (@code{a-szuzti.ads}) @@ -23834,7 +23880,7 @@ wide wide strings, avoiding the necessity for an intermediate operation with ordinary wide wide strings. @node Ada Task_Initialization a-tasini ads,Ada Text_IO C_Streams a-tiocst ads,Ada Strings Wide_Wide_Unbounded Wide_Wide_Text_IO a-szuzti ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-task-initialization-a-tasini-ads}@anchor{314}@anchor{gnat_rm/the_gnat_library id20}@anchor{315} +@anchor{gnat_rm/the_gnat_library ada-task-initialization-a-tasini-ads}@anchor{317}@anchor{gnat_rm/the_gnat_library id20}@anchor{318} @section @code{Ada.Task_Initialization} (@code{a-tasini.ads}) @@ -23846,7 +23892,7 @@ parameterless procedures. Note that such a handler is only invoked for those tasks activated after the handler is set. @node Ada Text_IO C_Streams a-tiocst ads,Ada Text_IO Reset_Standard_Files a-tirsfi ads,Ada Task_Initialization a-tasini ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-text-io-c-streams-a-tiocst-ads}@anchor{316}@anchor{gnat_rm/the_gnat_library id21}@anchor{317} +@anchor{gnat_rm/the_gnat_library ada-text-io-c-streams-a-tiocst-ads}@anchor{319}@anchor{gnat_rm/the_gnat_library id21}@anchor{31a} @section @code{Ada.Text_IO.C_Streams} (@code{a-tiocst.ads}) @@ -23861,7 +23907,7 @@ extracted from a file opened on the Ada side, and an Ada file can be constructed from a stream opened on the C side. @node Ada Text_IO Reset_Standard_Files a-tirsfi ads,Ada Wide_Characters Unicode a-wichun ads,Ada Text_IO C_Streams a-tiocst ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-text-io-reset-standard-files-a-tirsfi-ads}@anchor{318}@anchor{gnat_rm/the_gnat_library id22}@anchor{319} +@anchor{gnat_rm/the_gnat_library ada-text-io-reset-standard-files-a-tirsfi-ads}@anchor{31b}@anchor{gnat_rm/the_gnat_library id22}@anchor{31c} @section @code{Ada.Text_IO.Reset_Standard_Files} (@code{a-tirsfi.ads}) @@ -23876,7 +23922,7 @@ execution (for example a standard input file may be redefined to be interactive). @node Ada Wide_Characters Unicode a-wichun ads,Ada Wide_Text_IO C_Streams a-wtcstr ads,Ada Text_IO Reset_Standard_Files a-tirsfi ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-wide-characters-unicode-a-wichun-ads}@anchor{31a}@anchor{gnat_rm/the_gnat_library id23}@anchor{31b} +@anchor{gnat_rm/the_gnat_library ada-wide-characters-unicode-a-wichun-ads}@anchor{31d}@anchor{gnat_rm/the_gnat_library id23}@anchor{31e} @section @code{Ada.Wide_Characters.Unicode} (@code{a-wichun.ads}) @@ -23889,7 +23935,7 @@ This package provides subprograms that allow categorization of Wide_Character values according to Unicode categories. @node Ada Wide_Text_IO C_Streams a-wtcstr ads,Ada Wide_Text_IO Reset_Standard_Files a-wrstfi ads,Ada Wide_Characters Unicode a-wichun ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-wide-text-io-c-streams-a-wtcstr-ads}@anchor{31c}@anchor{gnat_rm/the_gnat_library id24}@anchor{31d} +@anchor{gnat_rm/the_gnat_library ada-wide-text-io-c-streams-a-wtcstr-ads}@anchor{31f}@anchor{gnat_rm/the_gnat_library id24}@anchor{320} @section @code{Ada.Wide_Text_IO.C_Streams} (@code{a-wtcstr.ads}) @@ -23904,7 +23950,7 @@ extracted from a file opened on the Ada side, and an Ada file can be constructed from a stream opened on the C side. @node Ada Wide_Text_IO Reset_Standard_Files a-wrstfi ads,Ada Wide_Wide_Characters Unicode a-zchuni ads,Ada Wide_Text_IO C_Streams a-wtcstr ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-wide-text-io-reset-standard-files-a-wrstfi-ads}@anchor{31e}@anchor{gnat_rm/the_gnat_library id25}@anchor{31f} +@anchor{gnat_rm/the_gnat_library ada-wide-text-io-reset-standard-files-a-wrstfi-ads}@anchor{321}@anchor{gnat_rm/the_gnat_library id25}@anchor{322} @section @code{Ada.Wide_Text_IO.Reset_Standard_Files} (@code{a-wrstfi.ads}) @@ -23919,7 +23965,7 @@ execution (for example a standard input file may be redefined to be interactive). @node Ada Wide_Wide_Characters Unicode a-zchuni ads,Ada Wide_Wide_Text_IO C_Streams a-ztcstr ads,Ada Wide_Text_IO Reset_Standard_Files a-wrstfi ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-wide-wide-characters-unicode-a-zchuni-ads}@anchor{320}@anchor{gnat_rm/the_gnat_library id26}@anchor{321} +@anchor{gnat_rm/the_gnat_library ada-wide-wide-characters-unicode-a-zchuni-ads}@anchor{323}@anchor{gnat_rm/the_gnat_library id26}@anchor{324} @section @code{Ada.Wide_Wide_Characters.Unicode} (@code{a-zchuni.ads}) @@ -23932,7 +23978,7 @@ This package provides subprograms that allow categorization of Wide_Wide_Character values according to Unicode categories. @node Ada Wide_Wide_Text_IO C_Streams a-ztcstr ads,Ada Wide_Wide_Text_IO Reset_Standard_Files a-zrstfi ads,Ada Wide_Wide_Characters Unicode a-zchuni ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-wide-wide-text-io-c-streams-a-ztcstr-ads}@anchor{322}@anchor{gnat_rm/the_gnat_library id27}@anchor{323} +@anchor{gnat_rm/the_gnat_library ada-wide-wide-text-io-c-streams-a-ztcstr-ads}@anchor{325}@anchor{gnat_rm/the_gnat_library id27}@anchor{326} @section @code{Ada.Wide_Wide_Text_IO.C_Streams} (@code{a-ztcstr.ads}) @@ -23947,7 +23993,7 @@ extracted from a file opened on the Ada side, and an Ada file can be constructed from a stream opened on the C side. @node Ada Wide_Wide_Text_IO Reset_Standard_Files a-zrstfi ads,GNAT Altivec g-altive ads,Ada Wide_Wide_Text_IO C_Streams a-ztcstr ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library ada-wide-wide-text-io-reset-standard-files-a-zrstfi-ads}@anchor{324}@anchor{gnat_rm/the_gnat_library id28}@anchor{325} +@anchor{gnat_rm/the_gnat_library ada-wide-wide-text-io-reset-standard-files-a-zrstfi-ads}@anchor{327}@anchor{gnat_rm/the_gnat_library id28}@anchor{328} @section @code{Ada.Wide_Wide_Text_IO.Reset_Standard_Files} (@code{a-zrstfi.ads}) @@ -23962,7 +24008,7 @@ change during execution (for example a standard input file may be redefined to be interactive). @node GNAT Altivec g-altive ads,GNAT Altivec Conversions g-altcon ads,Ada Wide_Wide_Text_IO Reset_Standard_Files a-zrstfi ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-altivec-g-altive-ads}@anchor{326}@anchor{gnat_rm/the_gnat_library id29}@anchor{327} +@anchor{gnat_rm/the_gnat_library gnat-altivec-g-altive-ads}@anchor{329}@anchor{gnat_rm/the_gnat_library id29}@anchor{32a} @section @code{GNAT.Altivec} (@code{g-altive.ads}) @@ -23975,7 +24021,7 @@ definitions of constants and types common to all the versions of the binding. @node GNAT Altivec Conversions g-altcon ads,GNAT Altivec Vector_Operations g-alveop ads,GNAT Altivec g-altive ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-altivec-conversions-g-altcon-ads}@anchor{328}@anchor{gnat_rm/the_gnat_library id30}@anchor{329} +@anchor{gnat_rm/the_gnat_library gnat-altivec-conversions-g-altcon-ads}@anchor{32b}@anchor{gnat_rm/the_gnat_library id30}@anchor{32c} @section @code{GNAT.Altivec.Conversions} (@code{g-altcon.ads}) @@ -23986,7 +24032,7 @@ binding. This package provides the Vector/View conversion routines. @node GNAT Altivec Vector_Operations g-alveop ads,GNAT Altivec Vector_Types g-alvety ads,GNAT Altivec Conversions g-altcon ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-altivec-vector-operations-g-alveop-ads}@anchor{32a}@anchor{gnat_rm/the_gnat_library id31}@anchor{32b} +@anchor{gnat_rm/the_gnat_library gnat-altivec-vector-operations-g-alveop-ads}@anchor{32d}@anchor{gnat_rm/the_gnat_library id31}@anchor{32e} @section @code{GNAT.Altivec.Vector_Operations} (@code{g-alveop.ads}) @@ -24000,7 +24046,7 @@ library. The hard binding is provided as a separate package. This unit is common to both bindings. @node GNAT Altivec Vector_Types g-alvety ads,GNAT Altivec Vector_Views g-alvevi ads,GNAT Altivec Vector_Operations g-alveop ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-altivec-vector-types-g-alvety-ads}@anchor{32c}@anchor{gnat_rm/the_gnat_library id32}@anchor{32d} +@anchor{gnat_rm/the_gnat_library gnat-altivec-vector-types-g-alvety-ads}@anchor{32f}@anchor{gnat_rm/the_gnat_library id32}@anchor{330} @section @code{GNAT.Altivec.Vector_Types} (@code{g-alvety.ads}) @@ -24012,7 +24058,7 @@ This package exposes the various vector types part of the Ada binding to AltiVec facilities. @node GNAT Altivec Vector_Views g-alvevi ads,GNAT Array_Split g-arrspl ads,GNAT Altivec Vector_Types g-alvety ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-altivec-vector-views-g-alvevi-ads}@anchor{32e}@anchor{gnat_rm/the_gnat_library id33}@anchor{32f} +@anchor{gnat_rm/the_gnat_library gnat-altivec-vector-views-g-alvevi-ads}@anchor{331}@anchor{gnat_rm/the_gnat_library id33}@anchor{332} @section @code{GNAT.Altivec.Vector_Views} (@code{g-alvevi.ads}) @@ -24027,7 +24073,7 @@ vector elements and provides a simple way to initialize vector objects. @node GNAT Array_Split g-arrspl ads,GNAT AWK g-awk ads,GNAT Altivec Vector_Views g-alvevi ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-array-split-g-arrspl-ads}@anchor{330}@anchor{gnat_rm/the_gnat_library id34}@anchor{331} +@anchor{gnat_rm/the_gnat_library gnat-array-split-g-arrspl-ads}@anchor{333}@anchor{gnat_rm/the_gnat_library id34}@anchor{334} @section @code{GNAT.Array_Split} (@code{g-arrspl.ads}) @@ -24040,7 +24086,7 @@ an array wherever the separators appear, and provide direct access to the resulting slices. @node GNAT AWK g-awk ads,GNAT Binary_Search g-binsea ads,GNAT Array_Split g-arrspl ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-awk-g-awk-ads}@anchor{332}@anchor{gnat_rm/the_gnat_library id35}@anchor{333} +@anchor{gnat_rm/the_gnat_library gnat-awk-g-awk-ads}@anchor{335}@anchor{gnat_rm/the_gnat_library id35}@anchor{336} @section @code{GNAT.AWK} (@code{g-awk.ads}) @@ -24055,7 +24101,7 @@ or more files containing formatted data. The file is viewed as a database where each record is a line and a field is a data element in this line. @node GNAT Binary_Search g-binsea ads,GNAT Bind_Environment g-binenv ads,GNAT AWK g-awk ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-binary-search-g-binsea-ads}@anchor{334}@anchor{gnat_rm/the_gnat_library id36}@anchor{335} +@anchor{gnat_rm/the_gnat_library gnat-binary-search-g-binsea-ads}@anchor{337}@anchor{gnat_rm/the_gnat_library id36}@anchor{338} @section @code{GNAT.Binary_Search} (@code{g-binsea.ads}) @@ -24067,7 +24113,7 @@ Allow binary search of a sorted array (or of an array-like container; the generic does not reference the array directly). @node GNAT Bind_Environment g-binenv ads,GNAT Branch_Prediction g-brapre ads,GNAT Binary_Search g-binsea ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-bind-environment-g-binenv-ads}@anchor{336}@anchor{gnat_rm/the_gnat_library id37}@anchor{337} +@anchor{gnat_rm/the_gnat_library gnat-bind-environment-g-binenv-ads}@anchor{339}@anchor{gnat_rm/the_gnat_library id37}@anchor{33a} @section @code{GNAT.Bind_Environment} (@code{g-binenv.ads}) @@ -24080,7 +24126,7 @@ These associations can be specified using the @code{-V} binder command line switch. @node GNAT Branch_Prediction g-brapre ads,GNAT Bounded_Buffers g-boubuf ads,GNAT Bind_Environment g-binenv ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-branch-prediction-g-brapre-ads}@anchor{338}@anchor{gnat_rm/the_gnat_library id38}@anchor{339} +@anchor{gnat_rm/the_gnat_library gnat-branch-prediction-g-brapre-ads}@anchor{33b}@anchor{gnat_rm/the_gnat_library id38}@anchor{33c} @section @code{GNAT.Branch_Prediction} (@code{g-brapre.ads}) @@ -24091,7 +24137,7 @@ line switch. Provides routines giving hints to the branch predictor of the code generator. @node GNAT Bounded_Buffers g-boubuf ads,GNAT Bounded_Mailboxes g-boumai ads,GNAT Branch_Prediction g-brapre ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-bounded-buffers-g-boubuf-ads}@anchor{33a}@anchor{gnat_rm/the_gnat_library id39}@anchor{33b} +@anchor{gnat_rm/the_gnat_library gnat-bounded-buffers-g-boubuf-ads}@anchor{33d}@anchor{gnat_rm/the_gnat_library id39}@anchor{33e} @section @code{GNAT.Bounded_Buffers} (@code{g-boubuf.ads}) @@ -24106,7 +24152,7 @@ useful directly or as parts of the implementations of other abstractions, such as mailboxes. @node GNAT Bounded_Mailboxes g-boumai ads,GNAT Bubble_Sort g-bubsor ads,GNAT Bounded_Buffers g-boubuf ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-bounded-mailboxes-g-boumai-ads}@anchor{33c}@anchor{gnat_rm/the_gnat_library id40}@anchor{33d} +@anchor{gnat_rm/the_gnat_library gnat-bounded-mailboxes-g-boumai-ads}@anchor{33f}@anchor{gnat_rm/the_gnat_library id40}@anchor{340} @section @code{GNAT.Bounded_Mailboxes} (@code{g-boumai.ads}) @@ -24119,7 +24165,7 @@ such as mailboxes. Provides a thread-safe asynchronous intertask mailbox communication facility. @node GNAT Bubble_Sort g-bubsor ads,GNAT Bubble_Sort_A g-busora ads,GNAT Bounded_Mailboxes g-boumai ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-bubble-sort-g-bubsor-ads}@anchor{33e}@anchor{gnat_rm/the_gnat_library id41}@anchor{33f} +@anchor{gnat_rm/the_gnat_library gnat-bubble-sort-g-bubsor-ads}@anchor{341}@anchor{gnat_rm/the_gnat_library id41}@anchor{342} @section @code{GNAT.Bubble_Sort} (@code{g-bubsor.ads}) @@ -24134,7 +24180,7 @@ data items. Exchange and comparison procedures are provided by passing access-to-procedure values. @node GNAT Bubble_Sort_A g-busora ads,GNAT Bubble_Sort_G g-busorg ads,GNAT Bubble_Sort g-bubsor ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-bubble-sort-a-g-busora-ads}@anchor{340}@anchor{gnat_rm/the_gnat_library id42}@anchor{341} +@anchor{gnat_rm/the_gnat_library gnat-bubble-sort-a-g-busora-ads}@anchor{343}@anchor{gnat_rm/the_gnat_library id42}@anchor{344} @section @code{GNAT.Bubble_Sort_A} (@code{g-busora.ads}) @@ -24150,7 +24196,7 @@ access-to-procedure values. This is an older version, retained for compatibility. Usually @code{GNAT.Bubble_Sort} will be preferable. @node GNAT Bubble_Sort_G g-busorg ads,GNAT Byte_Order_Mark g-byorma ads,GNAT Bubble_Sort_A g-busora ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-bubble-sort-g-g-busorg-ads}@anchor{342}@anchor{gnat_rm/the_gnat_library id43}@anchor{343} +@anchor{gnat_rm/the_gnat_library gnat-bubble-sort-g-g-busorg-ads}@anchor{345}@anchor{gnat_rm/the_gnat_library id43}@anchor{346} @section @code{GNAT.Bubble_Sort_G} (@code{g-busorg.ads}) @@ -24166,7 +24212,7 @@ if the procedures can be inlined, at the expense of duplicating code for multiple instantiations. @node GNAT Byte_Order_Mark g-byorma ads,GNAT Byte_Swapping g-bytswa ads,GNAT Bubble_Sort_G g-busorg ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-byte-order-mark-g-byorma-ads}@anchor{344}@anchor{gnat_rm/the_gnat_library id44}@anchor{345} +@anchor{gnat_rm/the_gnat_library gnat-byte-order-mark-g-byorma-ads}@anchor{347}@anchor{gnat_rm/the_gnat_library id44}@anchor{348} @section @code{GNAT.Byte_Order_Mark} (@code{g-byorma.ads}) @@ -24182,7 +24228,7 @@ the encoding of the string. The routine includes detection of special XML sequences for various UCS input formats. @node GNAT Byte_Swapping g-bytswa ads,GNAT Calendar g-calend ads,GNAT Byte_Order_Mark g-byorma ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-byte-swapping-g-bytswa-ads}@anchor{346}@anchor{gnat_rm/the_gnat_library id45}@anchor{347} +@anchor{gnat_rm/the_gnat_library gnat-byte-swapping-g-bytswa-ads}@anchor{349}@anchor{gnat_rm/the_gnat_library id45}@anchor{34a} @section @code{GNAT.Byte_Swapping} (@code{g-bytswa.ads}) @@ -24196,7 +24242,7 @@ General routines for swapping the bytes in 2-, 4-, and 8-byte quantities. Machine-specific implementations are available in some cases. @node GNAT Calendar g-calend ads,GNAT Calendar Time_IO g-catiio ads,GNAT Byte_Swapping g-bytswa ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-calendar-g-calend-ads}@anchor{348}@anchor{gnat_rm/the_gnat_library id46}@anchor{349} +@anchor{gnat_rm/the_gnat_library gnat-calendar-g-calend-ads}@anchor{34b}@anchor{gnat_rm/the_gnat_library id46}@anchor{34c} @section @code{GNAT.Calendar} (@code{g-calend.ads}) @@ -24210,7 +24256,7 @@ Also provides conversion of @code{Ada.Calendar.Time} values to and from the C @code{timeval} format. @node GNAT Calendar Time_IO g-catiio ads,GNAT CRC32 g-crc32 ads,GNAT Calendar g-calend ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-calendar-time-io-g-catiio-ads}@anchor{34a}@anchor{gnat_rm/the_gnat_library id47}@anchor{34b} +@anchor{gnat_rm/the_gnat_library gnat-calendar-time-io-g-catiio-ads}@anchor{34d}@anchor{gnat_rm/the_gnat_library id47}@anchor{34e} @section @code{GNAT.Calendar.Time_IO} (@code{g-catiio.ads}) @@ -24221,7 +24267,7 @@ C @code{timeval} format. @geindex GNAT.Calendar.Time_IO (g-catiio.ads) @node GNAT CRC32 g-crc32 ads,GNAT Case_Util g-casuti ads,GNAT Calendar Time_IO g-catiio ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-crc32-g-crc32-ads}@anchor{34c}@anchor{gnat_rm/the_gnat_library id48}@anchor{34d} +@anchor{gnat_rm/the_gnat_library gnat-crc32-g-crc32-ads}@anchor{34f}@anchor{gnat_rm/the_gnat_library id48}@anchor{350} @section @code{GNAT.CRC32} (@code{g-crc32.ads}) @@ -24238,7 +24284,7 @@ of this algorithm see Aug. 1988. Sarwate, D.V. @node GNAT Case_Util g-casuti ads,GNAT CGI g-cgi ads,GNAT CRC32 g-crc32 ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-case-util-g-casuti-ads}@anchor{34e}@anchor{gnat_rm/the_gnat_library id49}@anchor{34f} +@anchor{gnat_rm/the_gnat_library gnat-case-util-g-casuti-ads}@anchor{351}@anchor{gnat_rm/the_gnat_library id49}@anchor{352} @section @code{GNAT.Case_Util} (@code{g-casuti.ads}) @@ -24253,7 +24299,7 @@ without the overhead of the full casing tables in @code{Ada.Characters.Handling}. @node GNAT CGI g-cgi ads,GNAT CGI Cookie g-cgicoo ads,GNAT Case_Util g-casuti ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-cgi-g-cgi-ads}@anchor{350}@anchor{gnat_rm/the_gnat_library id50}@anchor{351} +@anchor{gnat_rm/the_gnat_library gnat-cgi-g-cgi-ads}@anchor{353}@anchor{gnat_rm/the_gnat_library id50}@anchor{354} @section @code{GNAT.CGI} (@code{g-cgi.ads}) @@ -24268,7 +24314,7 @@ builds a table whose index is the key and provides some services to deal with this table. @node GNAT CGI Cookie g-cgicoo ads,GNAT CGI Debug g-cgideb ads,GNAT CGI g-cgi ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-cgi-cookie-g-cgicoo-ads}@anchor{352}@anchor{gnat_rm/the_gnat_library id51}@anchor{353} +@anchor{gnat_rm/the_gnat_library gnat-cgi-cookie-g-cgicoo-ads}@anchor{355}@anchor{gnat_rm/the_gnat_library id51}@anchor{356} @section @code{GNAT.CGI.Cookie} (@code{g-cgicoo.ads}) @@ -24283,7 +24329,7 @@ Common Gateway Interface (CGI). It exports services to deal with Web cookies (piece of information kept in the Web client software). @node GNAT CGI Debug g-cgideb ads,GNAT Command_Line g-comlin ads,GNAT CGI Cookie g-cgicoo ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-cgi-debug-g-cgideb-ads}@anchor{354}@anchor{gnat_rm/the_gnat_library id52}@anchor{355} +@anchor{gnat_rm/the_gnat_library gnat-cgi-debug-g-cgideb-ads}@anchor{357}@anchor{gnat_rm/the_gnat_library id52}@anchor{358} @section @code{GNAT.CGI.Debug} (@code{g-cgideb.ads}) @@ -24295,7 +24341,7 @@ This is a package to help debugging CGI (Common Gateway Interface) programs written in Ada. @node GNAT Command_Line g-comlin ads,GNAT Compiler_Version g-comver ads,GNAT CGI Debug g-cgideb ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-command-line-g-comlin-ads}@anchor{356}@anchor{gnat_rm/the_gnat_library id53}@anchor{357} +@anchor{gnat_rm/the_gnat_library gnat-command-line-g-comlin-ads}@anchor{359}@anchor{gnat_rm/the_gnat_library id53}@anchor{35a} @section @code{GNAT.Command_Line} (@code{g-comlin.ads}) @@ -24308,7 +24354,7 @@ including the ability to scan for named switches with optional parameters and expand file names using wildcard notations. @node GNAT Compiler_Version g-comver ads,GNAT Ctrl_C g-ctrl_c ads,GNAT Command_Line g-comlin ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-compiler-version-g-comver-ads}@anchor{358}@anchor{gnat_rm/the_gnat_library id54}@anchor{359} +@anchor{gnat_rm/the_gnat_library gnat-compiler-version-g-comver-ads}@anchor{35b}@anchor{gnat_rm/the_gnat_library id54}@anchor{35c} @section @code{GNAT.Compiler_Version} (@code{g-comver.ads}) @@ -24326,7 +24372,7 @@ of the compiler if a consistent tool set is used to compile all units of a partition). @node GNAT Ctrl_C g-ctrl_c ads,GNAT Current_Exception g-curexc ads,GNAT Compiler_Version g-comver ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-ctrl-c-g-ctrl-c-ads}@anchor{35a}@anchor{gnat_rm/the_gnat_library id55}@anchor{35b} +@anchor{gnat_rm/the_gnat_library gnat-ctrl-c-g-ctrl-c-ads}@anchor{35d}@anchor{gnat_rm/the_gnat_library id55}@anchor{35e} @section @code{GNAT.Ctrl_C} (@code{g-ctrl_c.ads}) @@ -24337,7 +24383,7 @@ of a partition). Provides a simple interface to handle Ctrl-C keyboard events. @node GNAT Current_Exception g-curexc ads,GNAT Debug_Pools g-debpoo ads,GNAT Ctrl_C g-ctrl_c ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-current-exception-g-curexc-ads}@anchor{35c}@anchor{gnat_rm/the_gnat_library id56}@anchor{35d} +@anchor{gnat_rm/the_gnat_library gnat-current-exception-g-curexc-ads}@anchor{35f}@anchor{gnat_rm/the_gnat_library id56}@anchor{360} @section @code{GNAT.Current_Exception} (@code{g-curexc.ads}) @@ -24354,7 +24400,7 @@ This is particularly useful in simulating typical facilities for obtaining information about exceptions provided by Ada 83 compilers. @node GNAT Debug_Pools g-debpoo ads,GNAT Debug_Utilities g-debuti ads,GNAT Current_Exception g-curexc ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-debug-pools-g-debpoo-ads}@anchor{35e}@anchor{gnat_rm/the_gnat_library id57}@anchor{35f} +@anchor{gnat_rm/the_gnat_library gnat-debug-pools-g-debpoo-ads}@anchor{361}@anchor{gnat_rm/the_gnat_library id57}@anchor{362} @section @code{GNAT.Debug_Pools} (@code{g-debpoo.ads}) @@ -24371,7 +24417,7 @@ problems. See @code{The GNAT Debug_Pool Facility} section in the @cite{GNAT User’s Guide}. @node GNAT Debug_Utilities g-debuti ads,GNAT Decode_String g-decstr ads,GNAT Debug_Pools g-debpoo ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-debug-utilities-g-debuti-ads}@anchor{360}@anchor{gnat_rm/the_gnat_library id58}@anchor{361} +@anchor{gnat_rm/the_gnat_library gnat-debug-utilities-g-debuti-ads}@anchor{363}@anchor{gnat_rm/the_gnat_library id58}@anchor{364} @section @code{GNAT.Debug_Utilities} (@code{g-debuti.ads}) @@ -24384,7 +24430,7 @@ to and from string images of address values. Supports both C and Ada formats for hexadecimal literals. @node GNAT Decode_String g-decstr ads,GNAT Decode_UTF8_String g-deutst ads,GNAT Debug_Utilities g-debuti ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-decode-string-g-decstr-ads}@anchor{362}@anchor{gnat_rm/the_gnat_library id59}@anchor{363} +@anchor{gnat_rm/the_gnat_library gnat-decode-string-g-decstr-ads}@anchor{365}@anchor{gnat_rm/the_gnat_library id59}@anchor{366} @section @code{GNAT.Decode_String} (@code{g-decstr.ads}) @@ -24408,7 +24454,7 @@ Useful in conjunction with Unicode character coding. Note there is a preinstantiation for UTF-8. See next entry. @node GNAT Decode_UTF8_String g-deutst ads,GNAT Directory_Operations g-dirope ads,GNAT Decode_String g-decstr ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-decode-utf8-string-g-deutst-ads}@anchor{364}@anchor{gnat_rm/the_gnat_library id60}@anchor{365} +@anchor{gnat_rm/the_gnat_library gnat-decode-utf8-string-g-deutst-ads}@anchor{367}@anchor{gnat_rm/the_gnat_library id60}@anchor{368} @section @code{GNAT.Decode_UTF8_String} (@code{g-deutst.ads}) @@ -24429,7 +24475,7 @@ preinstantiation for UTF-8. See next entry. A preinstantiation of GNAT.Decode_Strings for UTF-8 encoding. @node GNAT Directory_Operations g-dirope ads,GNAT Directory_Operations Iteration g-diopit ads,GNAT Decode_UTF8_String g-deutst ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-directory-operations-g-dirope-ads}@anchor{366}@anchor{gnat_rm/the_gnat_library id61}@anchor{367} +@anchor{gnat_rm/the_gnat_library gnat-directory-operations-g-dirope-ads}@anchor{369}@anchor{gnat_rm/the_gnat_library id61}@anchor{36a} @section @code{GNAT.Directory_Operations} (@code{g-dirope.ads}) @@ -24442,7 +24488,7 @@ the current directory, making new directories, and scanning the files in a directory. @node GNAT Directory_Operations Iteration g-diopit ads,GNAT Dynamic_HTables g-dynhta ads,GNAT Directory_Operations g-dirope ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-directory-operations-iteration-g-diopit-ads}@anchor{368}@anchor{gnat_rm/the_gnat_library id62}@anchor{369} +@anchor{gnat_rm/the_gnat_library gnat-directory-operations-iteration-g-diopit-ads}@anchor{36b}@anchor{gnat_rm/the_gnat_library id62}@anchor{36c} @section @code{GNAT.Directory_Operations.Iteration} (@code{g-diopit.ads}) @@ -24454,7 +24500,7 @@ A child unit of GNAT.Directory_Operations providing additional operations for iterating through directories. @node GNAT Dynamic_HTables g-dynhta ads,GNAT Dynamic_Tables g-dyntab ads,GNAT Directory_Operations Iteration g-diopit ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-dynamic-htables-g-dynhta-ads}@anchor{36a}@anchor{gnat_rm/the_gnat_library id63}@anchor{36b} +@anchor{gnat_rm/the_gnat_library gnat-dynamic-htables-g-dynhta-ads}@anchor{36d}@anchor{gnat_rm/the_gnat_library id63}@anchor{36e} @section @code{GNAT.Dynamic_HTables} (@code{g-dynhta.ads}) @@ -24472,7 +24518,7 @@ dynamic instances of the hash table, while an instantiation of @code{GNAT.HTable} creates a single instance of the hash table. @node GNAT Dynamic_Tables g-dyntab ads,GNAT Encode_String g-encstr ads,GNAT Dynamic_HTables g-dynhta ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-dynamic-tables-g-dyntab-ads}@anchor{36c}@anchor{gnat_rm/the_gnat_library id64}@anchor{36d} +@anchor{gnat_rm/the_gnat_library gnat-dynamic-tables-g-dyntab-ads}@anchor{36f}@anchor{gnat_rm/the_gnat_library id64}@anchor{370} @section @code{GNAT.Dynamic_Tables} (@code{g-dyntab.ads}) @@ -24492,7 +24538,7 @@ dynamic instances of the table, while an instantiation of @code{GNAT.Table} creates a single instance of the table type. @node GNAT Encode_String g-encstr ads,GNAT Encode_UTF8_String g-enutst ads,GNAT Dynamic_Tables g-dyntab ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-encode-string-g-encstr-ads}@anchor{36e}@anchor{gnat_rm/the_gnat_library id65}@anchor{36f} +@anchor{gnat_rm/the_gnat_library gnat-encode-string-g-encstr-ads}@anchor{371}@anchor{gnat_rm/the_gnat_library id65}@anchor{372} @section @code{GNAT.Encode_String} (@code{g-encstr.ads}) @@ -24514,7 +24560,7 @@ encoding method. Useful in conjunction with Unicode character coding. Note there is a preinstantiation for UTF-8. See next entry. @node GNAT Encode_UTF8_String g-enutst ads,GNAT Exception_Actions g-excact ads,GNAT Encode_String g-encstr ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-encode-utf8-string-g-enutst-ads}@anchor{370}@anchor{gnat_rm/the_gnat_library id66}@anchor{371} +@anchor{gnat_rm/the_gnat_library gnat-encode-utf8-string-g-enutst-ads}@anchor{373}@anchor{gnat_rm/the_gnat_library id66}@anchor{374} @section @code{GNAT.Encode_UTF8_String} (@code{g-enutst.ads}) @@ -24535,7 +24581,7 @@ Note there is a preinstantiation for UTF-8. See next entry. A preinstantiation of GNAT.Encode_Strings for UTF-8 encoding. @node GNAT Exception_Actions g-excact ads,GNAT Exception_Traces g-exctra ads,GNAT Encode_UTF8_String g-enutst ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-exception-actions-g-excact-ads}@anchor{372}@anchor{gnat_rm/the_gnat_library id67}@anchor{373} +@anchor{gnat_rm/the_gnat_library gnat-exception-actions-g-excact-ads}@anchor{375}@anchor{gnat_rm/the_gnat_library id67}@anchor{376} @section @code{GNAT.Exception_Actions} (@code{g-excact.ads}) @@ -24548,7 +24594,7 @@ for specific exceptions, or when any exception is raised. This can be used for instance to force a core dump to ease debugging. @node GNAT Exception_Traces g-exctra ads,GNAT Exceptions g-except ads,GNAT Exception_Actions g-excact ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-exception-traces-g-exctra-ads}@anchor{374}@anchor{gnat_rm/the_gnat_library id68}@anchor{375} +@anchor{gnat_rm/the_gnat_library gnat-exception-traces-g-exctra-ads}@anchor{377}@anchor{gnat_rm/the_gnat_library id68}@anchor{378} @section @code{GNAT.Exception_Traces} (@code{g-exctra.ads}) @@ -24562,7 +24608,7 @@ Provides an interface allowing to control automatic output upon exception occurrences. @node GNAT Exceptions g-except ads,GNAT Expect g-expect ads,GNAT Exception_Traces g-exctra ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-exceptions-g-except-ads}@anchor{376}@anchor{gnat_rm/the_gnat_library id69}@anchor{377} +@anchor{gnat_rm/the_gnat_library gnat-exceptions-g-except-ads}@anchor{379}@anchor{gnat_rm/the_gnat_library id69}@anchor{37a} @section @code{GNAT.Exceptions} (@code{g-except.ads}) @@ -24583,7 +24629,7 @@ predefined exceptions, and for example allows raising @code{Constraint_Error} with a message from a pure subprogram. @node GNAT Expect g-expect ads,GNAT Expect TTY g-exptty ads,GNAT Exceptions g-except ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-expect-g-expect-ads}@anchor{378}@anchor{gnat_rm/the_gnat_library id70}@anchor{379} +@anchor{gnat_rm/the_gnat_library gnat-expect-g-expect-ads}@anchor{37b}@anchor{gnat_rm/the_gnat_library id70}@anchor{37c} @section @code{GNAT.Expect} (@code{g-expect.ads}) @@ -24599,7 +24645,7 @@ It is not implemented for cross ports, and in particular is not implemented for VxWorks or LynxOS. @node GNAT Expect TTY g-exptty ads,GNAT Float_Control g-flocon ads,GNAT Expect g-expect ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-expect-tty-g-exptty-ads}@anchor{37a}@anchor{gnat_rm/the_gnat_library id71}@anchor{37b} +@anchor{gnat_rm/the_gnat_library gnat-expect-tty-g-exptty-ads}@anchor{37d}@anchor{gnat_rm/the_gnat_library id71}@anchor{37e} @section @code{GNAT.Expect.TTY} (@code{g-exptty.ads}) @@ -24611,7 +24657,7 @@ ports. It is not implemented for cross ports, and in particular is not implemented for VxWorks or LynxOS. @node GNAT Float_Control g-flocon ads,GNAT Formatted_String g-forstr ads,GNAT Expect TTY g-exptty ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-float-control-g-flocon-ads}@anchor{37c}@anchor{gnat_rm/the_gnat_library id72}@anchor{37d} +@anchor{gnat_rm/the_gnat_library gnat-float-control-g-flocon-ads}@anchor{37f}@anchor{gnat_rm/the_gnat_library id72}@anchor{380} @section @code{GNAT.Float_Control} (@code{g-flocon.ads}) @@ -24625,7 +24671,7 @@ library calls may cause this mode to be modified, and the Reset procedure in this package can be used to reestablish the required mode. @node GNAT Formatted_String g-forstr ads,GNAT Generic_Fast_Math_Functions g-gfmafu ads,GNAT Float_Control g-flocon ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-formatted-string-g-forstr-ads}@anchor{37e}@anchor{gnat_rm/the_gnat_library id73}@anchor{37f} +@anchor{gnat_rm/the_gnat_library gnat-formatted-string-g-forstr-ads}@anchor{381}@anchor{gnat_rm/the_gnat_library id73}@anchor{382} @section @code{GNAT.Formatted_String} (@code{g-forstr.ads}) @@ -24640,7 +24686,7 @@ derived from Integer, Float or enumerations as values for the formatted string. @node GNAT Generic_Fast_Math_Functions g-gfmafu ads,GNAT Heap_Sort g-heasor ads,GNAT Formatted_String g-forstr ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-generic-fast-math-functions-g-gfmafu-ads}@anchor{380}@anchor{gnat_rm/the_gnat_library id74}@anchor{381} +@anchor{gnat_rm/the_gnat_library gnat-generic-fast-math-functions-g-gfmafu-ads}@anchor{383}@anchor{gnat_rm/the_gnat_library id74}@anchor{384} @section @code{GNAT.Generic_Fast_Math_Functions} (@code{g-gfmafu.ads}) @@ -24658,7 +24704,7 @@ have a vector implementation that can be automatically used by the compiler when auto-vectorization is enabled. @node GNAT Heap_Sort g-heasor ads,GNAT Heap_Sort_A g-hesora ads,GNAT Generic_Fast_Math_Functions g-gfmafu ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-heap-sort-g-heasor-ads}@anchor{382}@anchor{gnat_rm/the_gnat_library id75}@anchor{383} +@anchor{gnat_rm/the_gnat_library gnat-heap-sort-g-heasor-ads}@anchor{385}@anchor{gnat_rm/the_gnat_library id75}@anchor{386} @section @code{GNAT.Heap_Sort} (@code{g-heasor.ads}) @@ -24672,7 +24718,7 @@ access-to-procedure values. The algorithm used is a modified heap sort that performs approximately N*log(N) comparisons in the worst case. @node GNAT Heap_Sort_A g-hesora ads,GNAT Heap_Sort_G g-hesorg ads,GNAT Heap_Sort g-heasor ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-heap-sort-a-g-hesora-ads}@anchor{384}@anchor{gnat_rm/the_gnat_library id76}@anchor{385} +@anchor{gnat_rm/the_gnat_library gnat-heap-sort-a-g-hesora-ads}@anchor{387}@anchor{gnat_rm/the_gnat_library id76}@anchor{388} @section @code{GNAT.Heap_Sort_A} (@code{g-hesora.ads}) @@ -24688,7 +24734,7 @@ This differs from @code{GNAT.Heap_Sort} in having a less convenient interface, but may be slightly more efficient. @node GNAT Heap_Sort_G g-hesorg ads,GNAT HTable g-htable ads,GNAT Heap_Sort_A g-hesora ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-heap-sort-g-g-hesorg-ads}@anchor{386}@anchor{gnat_rm/the_gnat_library id77}@anchor{387} +@anchor{gnat_rm/the_gnat_library gnat-heap-sort-g-g-hesorg-ads}@anchor{389}@anchor{gnat_rm/the_gnat_library id77}@anchor{38a} @section @code{GNAT.Heap_Sort_G} (@code{g-hesorg.ads}) @@ -24702,7 +24748,7 @@ if the procedures can be inlined, at the expense of duplicating code for multiple instantiations. @node GNAT HTable g-htable ads,GNAT IO g-io ads,GNAT Heap_Sort_G g-hesorg ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-htable-g-htable-ads}@anchor{388}@anchor{gnat_rm/the_gnat_library id78}@anchor{389} +@anchor{gnat_rm/the_gnat_library gnat-htable-g-htable-ads}@anchor{38b}@anchor{gnat_rm/the_gnat_library id78}@anchor{38c} @section @code{GNAT.HTable} (@code{g-htable.ads}) @@ -24715,7 +24761,7 @@ data. Provides two approaches, one a simple static approach, and the other allowing arbitrary dynamic hash tables. @node GNAT IO g-io ads,GNAT IO_Aux g-io_aux ads,GNAT HTable g-htable ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-io-g-io-ads}@anchor{38a}@anchor{gnat_rm/the_gnat_library id79}@anchor{38b} +@anchor{gnat_rm/the_gnat_library gnat-io-g-io-ads}@anchor{38d}@anchor{gnat_rm/the_gnat_library id79}@anchor{38e} @section @code{GNAT.IO} (@code{g-io.ads}) @@ -24731,7 +24777,7 @@ Standard_Input, and writing characters, strings and integers to either Standard_Output or Standard_Error. @node GNAT IO_Aux g-io_aux ads,GNAT Lock_Files g-locfil ads,GNAT IO g-io ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-io-aux-g-io-aux-ads}@anchor{38c}@anchor{gnat_rm/the_gnat_library id80}@anchor{38d} +@anchor{gnat_rm/the_gnat_library gnat-io-aux-g-io-aux-ads}@anchor{38f}@anchor{gnat_rm/the_gnat_library id80}@anchor{390} @section @code{GNAT.IO_Aux} (@code{g-io_aux.ads}) @@ -24745,7 +24791,7 @@ Provides some auxiliary functions for use with Text_IO, including a test for whether a file exists, and functions for reading a line of text. @node GNAT Lock_Files g-locfil ads,GNAT MBBS_Discrete_Random g-mbdira ads,GNAT IO_Aux g-io_aux ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-lock-files-g-locfil-ads}@anchor{38e}@anchor{gnat_rm/the_gnat_library id81}@anchor{38f} +@anchor{gnat_rm/the_gnat_library gnat-lock-files-g-locfil-ads}@anchor{391}@anchor{gnat_rm/the_gnat_library id81}@anchor{392} @section @code{GNAT.Lock_Files} (@code{g-locfil.ads}) @@ -24759,7 +24805,7 @@ Provides a general interface for using files as locks. Can be used for providing program level synchronization. @node GNAT MBBS_Discrete_Random g-mbdira ads,GNAT MBBS_Float_Random g-mbflra ads,GNAT Lock_Files g-locfil ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-mbbs-discrete-random-g-mbdira-ads}@anchor{390}@anchor{gnat_rm/the_gnat_library id82}@anchor{391} +@anchor{gnat_rm/the_gnat_library gnat-mbbs-discrete-random-g-mbdira-ads}@anchor{393}@anchor{gnat_rm/the_gnat_library id82}@anchor{394} @section @code{GNAT.MBBS_Discrete_Random} (@code{g-mbdira.ads}) @@ -24771,7 +24817,7 @@ The original implementation of @code{Ada.Numerics.Discrete_Random}. Uses a modified version of the Blum-Blum-Shub generator. @node GNAT MBBS_Float_Random g-mbflra ads,GNAT MD5 g-md5 ads,GNAT MBBS_Discrete_Random g-mbdira ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-mbbs-float-random-g-mbflra-ads}@anchor{392}@anchor{gnat_rm/the_gnat_library id83}@anchor{393} +@anchor{gnat_rm/the_gnat_library gnat-mbbs-float-random-g-mbflra-ads}@anchor{395}@anchor{gnat_rm/the_gnat_library id83}@anchor{396} @section @code{GNAT.MBBS_Float_Random} (@code{g-mbflra.ads}) @@ -24783,7 +24829,7 @@ The original implementation of @code{Ada.Numerics.Float_Random}. Uses a modified version of the Blum-Blum-Shub generator. @node GNAT MD5 g-md5 ads,GNAT Memory_Dump g-memdum ads,GNAT MBBS_Float_Random g-mbflra ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-md5-g-md5-ads}@anchor{394}@anchor{gnat_rm/the_gnat_library id84}@anchor{395} +@anchor{gnat_rm/the_gnat_library gnat-md5-g-md5-ads}@anchor{397}@anchor{gnat_rm/the_gnat_library id84}@anchor{398} @section @code{GNAT.MD5} (@code{g-md5.ads}) @@ -24796,7 +24842,7 @@ the HMAC-MD5 message authentication function as described in RFC 2104 and FIPS PUB 198. @node GNAT Memory_Dump g-memdum ads,GNAT Most_Recent_Exception g-moreex ads,GNAT MD5 g-md5 ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-memory-dump-g-memdum-ads}@anchor{396}@anchor{gnat_rm/the_gnat_library id85}@anchor{397} +@anchor{gnat_rm/the_gnat_library gnat-memory-dump-g-memdum-ads}@anchor{399}@anchor{gnat_rm/the_gnat_library id85}@anchor{39a} @section @code{GNAT.Memory_Dump} (@code{g-memdum.ads}) @@ -24809,7 +24855,7 @@ standard output or standard error files. Uses GNAT.IO for actual output. @node GNAT Most_Recent_Exception g-moreex ads,GNAT OS_Lib g-os_lib ads,GNAT Memory_Dump g-memdum ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-most-recent-exception-g-moreex-ads}@anchor{398}@anchor{gnat_rm/the_gnat_library id86}@anchor{399} +@anchor{gnat_rm/the_gnat_library gnat-most-recent-exception-g-moreex-ads}@anchor{39b}@anchor{gnat_rm/the_gnat_library id86}@anchor{39c} @section @code{GNAT.Most_Recent_Exception} (@code{g-moreex.ads}) @@ -24823,7 +24869,7 @@ various logging purposes, including duplicating functionality of some Ada 83 implementation dependent extensions. @node GNAT OS_Lib g-os_lib ads,GNAT Perfect_Hash_Generators g-pehage ads,GNAT Most_Recent_Exception g-moreex ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-os-lib-g-os-lib-ads}@anchor{39a}@anchor{gnat_rm/the_gnat_library id87}@anchor{39b} +@anchor{gnat_rm/the_gnat_library gnat-os-lib-g-os-lib-ads}@anchor{39d}@anchor{gnat_rm/the_gnat_library id87}@anchor{39e} @section @code{GNAT.OS_Lib} (@code{g-os_lib.ads}) @@ -24839,7 +24885,7 @@ including a portable spawn procedure, and access to environment variables and error return codes. @node GNAT Perfect_Hash_Generators g-pehage ads,GNAT Random_Numbers g-rannum ads,GNAT OS_Lib g-os_lib ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-perfect-hash-generators-g-pehage-ads}@anchor{39c}@anchor{gnat_rm/the_gnat_library id88}@anchor{39d} +@anchor{gnat_rm/the_gnat_library gnat-perfect-hash-generators-g-pehage-ads}@anchor{39f}@anchor{gnat_rm/the_gnat_library id88}@anchor{3a0} @section @code{GNAT.Perfect_Hash_Generators} (@code{g-pehage.ads}) @@ -24857,7 +24903,7 @@ hashcode are in the same order. These hashing functions are very convenient for use with realtime applications. @node GNAT Random_Numbers g-rannum ads,GNAT Regexp g-regexp ads,GNAT Perfect_Hash_Generators g-pehage ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-random-numbers-g-rannum-ads}@anchor{39e}@anchor{gnat_rm/the_gnat_library id89}@anchor{39f} +@anchor{gnat_rm/the_gnat_library gnat-random-numbers-g-rannum-ads}@anchor{3a1}@anchor{gnat_rm/the_gnat_library id89}@anchor{3a2} @section @code{GNAT.Random_Numbers} (@code{g-rannum.ads}) @@ -24871,7 +24917,7 @@ however NOT suitable for situations requiring cryptographically secure randomness. @node GNAT Regexp g-regexp ads,GNAT Registry g-regist ads,GNAT Random_Numbers g-rannum ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-regexp-g-regexp-ads}@anchor{275}@anchor{gnat_rm/the_gnat_library id90}@anchor{3a0} +@anchor{gnat_rm/the_gnat_library gnat-regexp-g-regexp-ads}@anchor{278}@anchor{gnat_rm/the_gnat_library id90}@anchor{3a3} @section @code{GNAT.Regexp} (@code{g-regexp.ads}) @@ -24887,7 +24933,7 @@ simplest of the three pattern matching packages provided, and is particularly suitable for ‘file globbing’ applications. @node GNAT Registry g-regist ads,GNAT Regpat g-regpat ads,GNAT Regexp g-regexp ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-registry-g-regist-ads}@anchor{3a1}@anchor{gnat_rm/the_gnat_library id91}@anchor{3a2} +@anchor{gnat_rm/the_gnat_library gnat-registry-g-regist-ads}@anchor{3a4}@anchor{gnat_rm/the_gnat_library id91}@anchor{3a5} @section @code{GNAT.Registry} (@code{g-regist.ads}) @@ -24901,7 +24947,7 @@ registry API, but at a lower level of abstraction, refer to the Win32.Winreg package provided with the Win32Ada binding @node GNAT Regpat g-regpat ads,GNAT Rewrite_Data g-rewdat ads,GNAT Registry g-regist ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-regpat-g-regpat-ads}@anchor{3a3}@anchor{gnat_rm/the_gnat_library id92}@anchor{3a4} +@anchor{gnat_rm/the_gnat_library gnat-regpat-g-regpat-ads}@anchor{3a6}@anchor{gnat_rm/the_gnat_library id92}@anchor{3a7} @section @code{GNAT.Regpat} (@code{g-regpat.ads}) @@ -24916,7 +24962,7 @@ from the original V7 style regular expression library written in C by Henry Spencer (and binary compatible with this C library). @node GNAT Rewrite_Data g-rewdat ads,GNAT Secondary_Stack_Info g-sestin ads,GNAT Regpat g-regpat ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-rewrite-data-g-rewdat-ads}@anchor{3a5}@anchor{gnat_rm/the_gnat_library id93}@anchor{3a6} +@anchor{gnat_rm/the_gnat_library gnat-rewrite-data-g-rewdat-ads}@anchor{3a8}@anchor{gnat_rm/the_gnat_library id93}@anchor{3a9} @section @code{GNAT.Rewrite_Data} (@code{g-rewdat.ads}) @@ -24930,7 +24976,7 @@ full content to be processed is not loaded into memory all at once. This makes this interface usable for large files or socket streams. @node GNAT Secondary_Stack_Info g-sestin ads,GNAT Semaphores g-semaph ads,GNAT Rewrite_Data g-rewdat ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-secondary-stack-info-g-sestin-ads}@anchor{3a7}@anchor{gnat_rm/the_gnat_library id94}@anchor{3a8} +@anchor{gnat_rm/the_gnat_library gnat-secondary-stack-info-g-sestin-ads}@anchor{3aa}@anchor{gnat_rm/the_gnat_library id94}@anchor{3ab} @section @code{GNAT.Secondary_Stack_Info} (@code{g-sestin.ads}) @@ -24942,7 +24988,7 @@ Provides the capability to query the high water mark of the current task’s secondary stack. @node GNAT Semaphores g-semaph ads,GNAT Serial_Communications g-sercom ads,GNAT Secondary_Stack_Info g-sestin ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-semaphores-g-semaph-ads}@anchor{3a9}@anchor{gnat_rm/the_gnat_library id95}@anchor{3aa} +@anchor{gnat_rm/the_gnat_library gnat-semaphores-g-semaph-ads}@anchor{3ac}@anchor{gnat_rm/the_gnat_library id95}@anchor{3ad} @section @code{GNAT.Semaphores} (@code{g-semaph.ads}) @@ -24953,7 +24999,7 @@ secondary stack. Provides classic counting and binary semaphores using protected types. @node GNAT Serial_Communications g-sercom ads,GNAT SHA1 g-sha1 ads,GNAT Semaphores g-semaph ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-serial-communications-g-sercom-ads}@anchor{3ab}@anchor{gnat_rm/the_gnat_library id96}@anchor{3ac} +@anchor{gnat_rm/the_gnat_library gnat-serial-communications-g-sercom-ads}@anchor{3ae}@anchor{gnat_rm/the_gnat_library id96}@anchor{3af} @section @code{GNAT.Serial_Communications} (@code{g-sercom.ads}) @@ -24965,7 +25011,7 @@ Provides a simple interface to send and receive data over a serial port. This is only supported on GNU/Linux and Windows. @node GNAT SHA1 g-sha1 ads,GNAT SHA224 g-sha224 ads,GNAT Serial_Communications g-sercom ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-sha1-g-sha1-ads}@anchor{3ad}@anchor{gnat_rm/the_gnat_library id97}@anchor{3ae} +@anchor{gnat_rm/the_gnat_library gnat-sha1-g-sha1-ads}@anchor{3b0}@anchor{gnat_rm/the_gnat_library id97}@anchor{3b1} @section @code{GNAT.SHA1} (@code{g-sha1.ads}) @@ -24978,7 +25024,7 @@ and RFC 3174, and the HMAC-SHA1 message authentication function as described in RFC 2104 and FIPS PUB 198. @node GNAT SHA224 g-sha224 ads,GNAT SHA256 g-sha256 ads,GNAT SHA1 g-sha1 ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-sha224-g-sha224-ads}@anchor{3af}@anchor{gnat_rm/the_gnat_library id98}@anchor{3b0} +@anchor{gnat_rm/the_gnat_library gnat-sha224-g-sha224-ads}@anchor{3b2}@anchor{gnat_rm/the_gnat_library id98}@anchor{3b3} @section @code{GNAT.SHA224} (@code{g-sha224.ads}) @@ -24991,7 +25037,7 @@ and the HMAC-SHA224 message authentication function as described in RFC 2104 and FIPS PUB 198. @node GNAT SHA256 g-sha256 ads,GNAT SHA384 g-sha384 ads,GNAT SHA224 g-sha224 ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-sha256-g-sha256-ads}@anchor{3b1}@anchor{gnat_rm/the_gnat_library id99}@anchor{3b2} +@anchor{gnat_rm/the_gnat_library gnat-sha256-g-sha256-ads}@anchor{3b4}@anchor{gnat_rm/the_gnat_library id99}@anchor{3b5} @section @code{GNAT.SHA256} (@code{g-sha256.ads}) @@ -25004,7 +25050,7 @@ and the HMAC-SHA256 message authentication function as described in RFC 2104 and FIPS PUB 198. @node GNAT SHA384 g-sha384 ads,GNAT SHA512 g-sha512 ads,GNAT SHA256 g-sha256 ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-sha384-g-sha384-ads}@anchor{3b3}@anchor{gnat_rm/the_gnat_library id100}@anchor{3b4} +@anchor{gnat_rm/the_gnat_library gnat-sha384-g-sha384-ads}@anchor{3b6}@anchor{gnat_rm/the_gnat_library id100}@anchor{3b7} @section @code{GNAT.SHA384} (@code{g-sha384.ads}) @@ -25017,7 +25063,7 @@ and the HMAC-SHA384 message authentication function as described in RFC 2104 and FIPS PUB 198. @node GNAT SHA512 g-sha512 ads,GNAT Signals g-signal ads,GNAT SHA384 g-sha384 ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-sha512-g-sha512-ads}@anchor{3b5}@anchor{gnat_rm/the_gnat_library id101}@anchor{3b6} +@anchor{gnat_rm/the_gnat_library gnat-sha512-g-sha512-ads}@anchor{3b8}@anchor{gnat_rm/the_gnat_library id101}@anchor{3b9} @section @code{GNAT.SHA512} (@code{g-sha512.ads}) @@ -25030,7 +25076,7 @@ and the HMAC-SHA512 message authentication function as described in RFC 2104 and FIPS PUB 198. @node GNAT Signals g-signal ads,GNAT Sockets g-socket ads,GNAT SHA512 g-sha512 ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-signals-g-signal-ads}@anchor{3b7}@anchor{gnat_rm/the_gnat_library id102}@anchor{3b8} +@anchor{gnat_rm/the_gnat_library gnat-signals-g-signal-ads}@anchor{3ba}@anchor{gnat_rm/the_gnat_library id102}@anchor{3bb} @section @code{GNAT.Signals} (@code{g-signal.ads}) @@ -25042,7 +25088,7 @@ Provides the ability to manipulate the blocked status of signals on supported targets. @node GNAT Sockets g-socket ads,GNAT Source_Info g-souinf ads,GNAT Signals g-signal ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-sockets-g-socket-ads}@anchor{3b9}@anchor{gnat_rm/the_gnat_library id103}@anchor{3ba} +@anchor{gnat_rm/the_gnat_library gnat-sockets-g-socket-ads}@anchor{3bc}@anchor{gnat_rm/the_gnat_library id103}@anchor{3bd} @section @code{GNAT.Sockets} (@code{g-socket.ads}) @@ -25057,7 +25103,7 @@ on all native GNAT ports and on VxWorks cross ports. It is not implemented for the LynxOS cross port. @node GNAT Source_Info g-souinf ads,GNAT Spelling_Checker g-speche ads,GNAT Sockets g-socket ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-source-info-g-souinf-ads}@anchor{3bb}@anchor{gnat_rm/the_gnat_library id104}@anchor{3bc} +@anchor{gnat_rm/the_gnat_library gnat-source-info-g-souinf-ads}@anchor{3be}@anchor{gnat_rm/the_gnat_library id104}@anchor{3bf} @section @code{GNAT.Source_Info} (@code{g-souinf.ads}) @@ -25071,7 +25117,7 @@ subprograms yielding the date and time of the current compilation (like the C macros @code{__DATE__} and @code{__TIME__}) @node GNAT Spelling_Checker g-speche ads,GNAT Spelling_Checker_Generic g-spchge ads,GNAT Source_Info g-souinf ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-spelling-checker-g-speche-ads}@anchor{3bd}@anchor{gnat_rm/the_gnat_library id105}@anchor{3be} +@anchor{gnat_rm/the_gnat_library gnat-spelling-checker-g-speche-ads}@anchor{3c0}@anchor{gnat_rm/the_gnat_library id105}@anchor{3c1} @section @code{GNAT.Spelling_Checker} (@code{g-speche.ads}) @@ -25083,7 +25129,7 @@ Provides a function for determining whether one string is a plausible near misspelling of another string. @node GNAT Spelling_Checker_Generic g-spchge ads,GNAT Spitbol Patterns g-spipat ads,GNAT Spelling_Checker g-speche ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-spelling-checker-generic-g-spchge-ads}@anchor{3bf}@anchor{gnat_rm/the_gnat_library id106}@anchor{3c0} +@anchor{gnat_rm/the_gnat_library gnat-spelling-checker-generic-g-spchge-ads}@anchor{3c2}@anchor{gnat_rm/the_gnat_library id106}@anchor{3c3} @section @code{GNAT.Spelling_Checker_Generic} (@code{g-spchge.ads}) @@ -25096,7 +25142,7 @@ determining whether one string is a plausible near misspelling of another string. @node GNAT Spitbol Patterns g-spipat ads,GNAT Spitbol g-spitbo ads,GNAT Spelling_Checker_Generic g-spchge ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-spitbol-patterns-g-spipat-ads}@anchor{3c1}@anchor{gnat_rm/the_gnat_library id107}@anchor{3c2} +@anchor{gnat_rm/the_gnat_library gnat-spitbol-patterns-g-spipat-ads}@anchor{3c4}@anchor{gnat_rm/the_gnat_library id107}@anchor{3c5} @section @code{GNAT.Spitbol.Patterns} (@code{g-spipat.ads}) @@ -25112,7 +25158,7 @@ the SNOBOL4 dynamic pattern construction and matching capabilities, using the efficient algorithm developed by Robert Dewar for the SPITBOL system. @node GNAT Spitbol g-spitbo ads,GNAT Spitbol Table_Boolean g-sptabo ads,GNAT Spitbol Patterns g-spipat ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-spitbol-g-spitbo-ads}@anchor{3c3}@anchor{gnat_rm/the_gnat_library id108}@anchor{3c4} +@anchor{gnat_rm/the_gnat_library gnat-spitbol-g-spitbo-ads}@anchor{3c6}@anchor{gnat_rm/the_gnat_library id108}@anchor{3c7} @section @code{GNAT.Spitbol} (@code{g-spitbo.ads}) @@ -25127,7 +25173,7 @@ useful for constructing arbitrary mappings from strings in the style of the SNOBOL4 TABLE function. @node GNAT Spitbol Table_Boolean g-sptabo ads,GNAT Spitbol Table_Integer g-sptain ads,GNAT Spitbol g-spitbo ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-spitbol-table-boolean-g-sptabo-ads}@anchor{3c5}@anchor{gnat_rm/the_gnat_library id109}@anchor{3c6} +@anchor{gnat_rm/the_gnat_library gnat-spitbol-table-boolean-g-sptabo-ads}@anchor{3c8}@anchor{gnat_rm/the_gnat_library id109}@anchor{3c9} @section @code{GNAT.Spitbol.Table_Boolean} (@code{g-sptabo.ads}) @@ -25142,7 +25188,7 @@ for type @code{Standard.Boolean}, giving an implementation of sets of string values. @node GNAT Spitbol Table_Integer g-sptain ads,GNAT Spitbol Table_VString g-sptavs ads,GNAT Spitbol Table_Boolean g-sptabo ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-spitbol-table-integer-g-sptain-ads}@anchor{3c7}@anchor{gnat_rm/the_gnat_library id110}@anchor{3c8} +@anchor{gnat_rm/the_gnat_library gnat-spitbol-table-integer-g-sptain-ads}@anchor{3ca}@anchor{gnat_rm/the_gnat_library id110}@anchor{3cb} @section @code{GNAT.Spitbol.Table_Integer} (@code{g-sptain.ads}) @@ -25159,7 +25205,7 @@ for type @code{Standard.Integer}, giving an implementation of maps from string to integer values. @node GNAT Spitbol Table_VString g-sptavs ads,GNAT SSE g-sse ads,GNAT Spitbol Table_Integer g-sptain ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-spitbol-table-vstring-g-sptavs-ads}@anchor{3c9}@anchor{gnat_rm/the_gnat_library id111}@anchor{3ca} +@anchor{gnat_rm/the_gnat_library gnat-spitbol-table-vstring-g-sptavs-ads}@anchor{3cc}@anchor{gnat_rm/the_gnat_library id111}@anchor{3cd} @section @code{GNAT.Spitbol.Table_VString} (@code{g-sptavs.ads}) @@ -25176,7 +25222,7 @@ a variable length string type, giving an implementation of general maps from strings to strings. @node GNAT SSE g-sse ads,GNAT SSE Vector_Types g-ssvety ads,GNAT Spitbol Table_VString g-sptavs ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-sse-g-sse-ads}@anchor{3cb}@anchor{gnat_rm/the_gnat_library id112}@anchor{3cc} +@anchor{gnat_rm/the_gnat_library gnat-sse-g-sse-ads}@anchor{3ce}@anchor{gnat_rm/the_gnat_library id112}@anchor{3cf} @section @code{GNAT.SSE} (@code{g-sse.ads}) @@ -25188,7 +25234,7 @@ targets. It exposes vector component types together with a general introduction to the binding contents and use. @node GNAT SSE Vector_Types g-ssvety ads,GNAT String_Hash g-strhas ads,GNAT SSE g-sse ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-sse-vector-types-g-ssvety-ads}@anchor{3cd}@anchor{gnat_rm/the_gnat_library id113}@anchor{3ce} +@anchor{gnat_rm/the_gnat_library gnat-sse-vector-types-g-ssvety-ads}@anchor{3d0}@anchor{gnat_rm/the_gnat_library id113}@anchor{3d1} @section @code{GNAT.SSE.Vector_Types} (@code{g-ssvety.ads}) @@ -25197,7 +25243,7 @@ introduction to the binding contents and use. SSE vector types for use with SSE related intrinsics. @node GNAT String_Hash g-strhas ads,GNAT Strings g-string ads,GNAT SSE Vector_Types g-ssvety ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-string-hash-g-strhas-ads}@anchor{3cf}@anchor{gnat_rm/the_gnat_library id114}@anchor{3d0} +@anchor{gnat_rm/the_gnat_library gnat-string-hash-g-strhas-ads}@anchor{3d2}@anchor{gnat_rm/the_gnat_library id114}@anchor{3d3} @section @code{GNAT.String_Hash} (@code{g-strhas.ads}) @@ -25209,7 +25255,7 @@ Provides a generic hash function working on arrays of scalars. Both the scalar type and the hash result type are parameters. @node GNAT Strings g-string ads,GNAT String_Split g-strspl ads,GNAT String_Hash g-strhas ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-strings-g-string-ads}@anchor{3d1}@anchor{gnat_rm/the_gnat_library id115}@anchor{3d2} +@anchor{gnat_rm/the_gnat_library gnat-strings-g-string-ads}@anchor{3d4}@anchor{gnat_rm/the_gnat_library id115}@anchor{3d5} @section @code{GNAT.Strings} (@code{g-string.ads}) @@ -25219,7 +25265,7 @@ Common String access types and related subprograms. Basically it defines a string access and an array of string access types. @node GNAT String_Split g-strspl ads,GNAT Table g-table ads,GNAT Strings g-string ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-string-split-g-strspl-ads}@anchor{3d3}@anchor{gnat_rm/the_gnat_library id116}@anchor{3d4} +@anchor{gnat_rm/the_gnat_library gnat-string-split-g-strspl-ads}@anchor{3d6}@anchor{gnat_rm/the_gnat_library id116}@anchor{3d7} @section @code{GNAT.String_Split} (@code{g-strspl.ads}) @@ -25233,7 +25279,7 @@ to the resulting slices. This package is instantiated from @code{GNAT.Array_Split}. @node GNAT Table g-table ads,GNAT Task_Lock g-tasloc ads,GNAT String_Split g-strspl ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-table-g-table-ads}@anchor{3d5}@anchor{gnat_rm/the_gnat_library id117}@anchor{3d6} +@anchor{gnat_rm/the_gnat_library gnat-table-g-table-ads}@anchor{3d8}@anchor{gnat_rm/the_gnat_library id117}@anchor{3d9} @section @code{GNAT.Table} (@code{g-table.ads}) @@ -25253,7 +25299,7 @@ while an instantiation of @code{GNAT.Dynamic_Tables} creates a type that can be used to define dynamic instances of the table. @node GNAT Task_Lock g-tasloc ads,GNAT Time_Stamp g-timsta ads,GNAT Table g-table ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-task-lock-g-tasloc-ads}@anchor{3d7}@anchor{gnat_rm/the_gnat_library id118}@anchor{3d8} +@anchor{gnat_rm/the_gnat_library gnat-task-lock-g-tasloc-ads}@anchor{3da}@anchor{gnat_rm/the_gnat_library id118}@anchor{3db} @section @code{GNAT.Task_Lock} (@code{g-tasloc.ads}) @@ -25270,7 +25316,7 @@ single global task lock. Appropriate for use in situations where contention between tasks is very rarely expected. @node GNAT Time_Stamp g-timsta ads,GNAT Threads g-thread ads,GNAT Task_Lock g-tasloc ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-time-stamp-g-timsta-ads}@anchor{3d9}@anchor{gnat_rm/the_gnat_library id119}@anchor{3da} +@anchor{gnat_rm/the_gnat_library gnat-time-stamp-g-timsta-ads}@anchor{3dc}@anchor{gnat_rm/the_gnat_library id119}@anchor{3dd} @section @code{GNAT.Time_Stamp} (@code{g-timsta.ads}) @@ -25285,7 +25331,7 @@ represents the current date and time in ISO 8601 format. This is a very simple routine with minimal code and there are no dependencies on any other unit. @node GNAT Threads g-thread ads,GNAT Traceback g-traceb ads,GNAT Time_Stamp g-timsta ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-threads-g-thread-ads}@anchor{3db}@anchor{gnat_rm/the_gnat_library id120}@anchor{3dc} +@anchor{gnat_rm/the_gnat_library gnat-threads-g-thread-ads}@anchor{3de}@anchor{gnat_rm/the_gnat_library id120}@anchor{3df} @section @code{GNAT.Threads} (@code{g-thread.ads}) @@ -25302,7 +25348,7 @@ further details if your program has threads that are created by a non-Ada environment which then accesses Ada code. @node GNAT Traceback g-traceb ads,GNAT Traceback Symbolic g-trasym ads,GNAT Threads g-thread ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-traceback-g-traceb-ads}@anchor{3dd}@anchor{gnat_rm/the_gnat_library id121}@anchor{3de} +@anchor{gnat_rm/the_gnat_library gnat-traceback-g-traceb-ads}@anchor{3e0}@anchor{gnat_rm/the_gnat_library id121}@anchor{3e1} @section @code{GNAT.Traceback} (@code{g-traceb.ads}) @@ -25314,7 +25360,7 @@ Provides a facility for obtaining non-symbolic traceback information, useful in various debugging situations. @node GNAT Traceback Symbolic g-trasym ads,GNAT UTF_32 g-utf_32 ads,GNAT Traceback g-traceb ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-traceback-symbolic-g-trasym-ads}@anchor{3df}@anchor{gnat_rm/the_gnat_library id122}@anchor{3e0} +@anchor{gnat_rm/the_gnat_library gnat-traceback-symbolic-g-trasym-ads}@anchor{3e2}@anchor{gnat_rm/the_gnat_library id122}@anchor{3e3} @section @code{GNAT.Traceback.Symbolic} (@code{g-trasym.ads}) @@ -25323,7 +25369,7 @@ in various debugging situations. @geindex Trace back facilities @node GNAT UTF_32 g-utf_32 ads,GNAT UTF_32_Spelling_Checker g-u3spch ads,GNAT Traceback Symbolic g-trasym ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-utf-32-g-utf-32-ads}@anchor{3e1}@anchor{gnat_rm/the_gnat_library id123}@anchor{3e2} +@anchor{gnat_rm/the_gnat_library gnat-utf-32-g-utf-32-ads}@anchor{3e4}@anchor{gnat_rm/the_gnat_library id123}@anchor{3e5} @section @code{GNAT.UTF_32} (@code{g-utf_32.ads}) @@ -25342,7 +25388,7 @@ lower case to upper case fold routine corresponding to the Ada 2005 rules for identifier equivalence. @node GNAT UTF_32_Spelling_Checker g-u3spch ads,GNAT Wide_Spelling_Checker g-wispch ads,GNAT UTF_32 g-utf_32 ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-utf-32-spelling-checker-g-u3spch-ads}@anchor{3e3}@anchor{gnat_rm/the_gnat_library id124}@anchor{3e4} +@anchor{gnat_rm/the_gnat_library gnat-utf-32-spelling-checker-g-u3spch-ads}@anchor{3e6}@anchor{gnat_rm/the_gnat_library id124}@anchor{3e7} @section @code{GNAT.UTF_32_Spelling_Checker} (@code{g-u3spch.ads}) @@ -25355,7 +25401,7 @@ near misspelling of another wide wide string, where the strings are represented using the UTF_32_String type defined in System.Wch_Cnv. @node GNAT Wide_Spelling_Checker g-wispch ads,GNAT Wide_String_Split g-wistsp ads,GNAT UTF_32_Spelling_Checker g-u3spch ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-wide-spelling-checker-g-wispch-ads}@anchor{3e5}@anchor{gnat_rm/the_gnat_library id125}@anchor{3e6} +@anchor{gnat_rm/the_gnat_library gnat-wide-spelling-checker-g-wispch-ads}@anchor{3e8}@anchor{gnat_rm/the_gnat_library id125}@anchor{3e9} @section @code{GNAT.Wide_Spelling_Checker} (@code{g-wispch.ads}) @@ -25367,7 +25413,7 @@ Provides a function for determining whether one wide string is a plausible near misspelling of another wide string. @node GNAT Wide_String_Split g-wistsp ads,GNAT Wide_Wide_Spelling_Checker g-zspche ads,GNAT Wide_Spelling_Checker g-wispch ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-wide-string-split-g-wistsp-ads}@anchor{3e7}@anchor{gnat_rm/the_gnat_library id126}@anchor{3e8} +@anchor{gnat_rm/the_gnat_library gnat-wide-string-split-g-wistsp-ads}@anchor{3ea}@anchor{gnat_rm/the_gnat_library id126}@anchor{3eb} @section @code{GNAT.Wide_String_Split} (@code{g-wistsp.ads}) @@ -25381,7 +25427,7 @@ to the resulting slices. This package is instantiated from @code{GNAT.Array_Split}. @node GNAT Wide_Wide_Spelling_Checker g-zspche ads,GNAT Wide_Wide_String_Split g-zistsp ads,GNAT Wide_String_Split g-wistsp ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-wide-wide-spelling-checker-g-zspche-ads}@anchor{3e9}@anchor{gnat_rm/the_gnat_library id127}@anchor{3ea} +@anchor{gnat_rm/the_gnat_library gnat-wide-wide-spelling-checker-g-zspche-ads}@anchor{3ec}@anchor{gnat_rm/the_gnat_library id127}@anchor{3ed} @section @code{GNAT.Wide_Wide_Spelling_Checker} (@code{g-zspche.ads}) @@ -25393,7 +25439,7 @@ Provides a function for determining whether one wide wide string is a plausible near misspelling of another wide wide string. @node GNAT Wide_Wide_String_Split g-zistsp ads,Interfaces C Extensions i-cexten ads,GNAT Wide_Wide_Spelling_Checker g-zspche ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library gnat-wide-wide-string-split-g-zistsp-ads}@anchor{3eb}@anchor{gnat_rm/the_gnat_library id128}@anchor{3ec} +@anchor{gnat_rm/the_gnat_library gnat-wide-wide-string-split-g-zistsp-ads}@anchor{3ee}@anchor{gnat_rm/the_gnat_library id128}@anchor{3ef} @section @code{GNAT.Wide_Wide_String_Split} (@code{g-zistsp.ads}) @@ -25407,7 +25453,7 @@ to the resulting slices. This package is instantiated from @code{GNAT.Array_Split}. @node Interfaces C Extensions i-cexten ads,Interfaces C Streams i-cstrea ads,GNAT Wide_Wide_String_Split g-zistsp ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library id129}@anchor{3ed}@anchor{gnat_rm/the_gnat_library interfaces-c-extensions-i-cexten-ads}@anchor{3ee} +@anchor{gnat_rm/the_gnat_library id129}@anchor{3f0}@anchor{gnat_rm/the_gnat_library interfaces-c-extensions-i-cexten-ads}@anchor{3f1} @section @code{Interfaces.C.Extensions} (@code{i-cexten.ads}) @@ -25418,7 +25464,7 @@ for use with either manually or automatically generated bindings to C libraries. @node Interfaces C Streams i-cstrea ads,Interfaces Packed_Decimal i-pacdec ads,Interfaces C Extensions i-cexten ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library id130}@anchor{3ef}@anchor{gnat_rm/the_gnat_library interfaces-c-streams-i-cstrea-ads}@anchor{3f0} +@anchor{gnat_rm/the_gnat_library id130}@anchor{3f2}@anchor{gnat_rm/the_gnat_library interfaces-c-streams-i-cstrea-ads}@anchor{3f3} @section @code{Interfaces.C.Streams} (@code{i-cstrea.ads}) @@ -25431,7 +25477,7 @@ This package is a binding for the most commonly used operations on C streams. @node Interfaces Packed_Decimal i-pacdec ads,Interfaces VxWorks i-vxwork ads,Interfaces C Streams i-cstrea ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library id131}@anchor{3f1}@anchor{gnat_rm/the_gnat_library interfaces-packed-decimal-i-pacdec-ads}@anchor{3f2} +@anchor{gnat_rm/the_gnat_library id131}@anchor{3f4}@anchor{gnat_rm/the_gnat_library interfaces-packed-decimal-i-pacdec-ads}@anchor{3f5} @section @code{Interfaces.Packed_Decimal} (@code{i-pacdec.ads}) @@ -25446,7 +25492,7 @@ from a packed decimal format compatible with that used on IBM mainframes. @node Interfaces VxWorks i-vxwork ads,Interfaces VxWorks IO i-vxwoio ads,Interfaces Packed_Decimal i-pacdec ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library id132}@anchor{3f3}@anchor{gnat_rm/the_gnat_library interfaces-vxworks-i-vxwork-ads}@anchor{3f4} +@anchor{gnat_rm/the_gnat_library id132}@anchor{3f6}@anchor{gnat_rm/the_gnat_library interfaces-vxworks-i-vxwork-ads}@anchor{3f7} @section @code{Interfaces.VxWorks} (@code{i-vxwork.ads}) @@ -25460,7 +25506,7 @@ mainframes. This package provides a limited binding to the VxWorks API. @node Interfaces VxWorks IO i-vxwoio ads,System Address_Image s-addima ads,Interfaces VxWorks i-vxwork ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library id133}@anchor{3f5}@anchor{gnat_rm/the_gnat_library interfaces-vxworks-io-i-vxwoio-ads}@anchor{3f6} +@anchor{gnat_rm/the_gnat_library id133}@anchor{3f8}@anchor{gnat_rm/the_gnat_library interfaces-vxworks-io-i-vxwoio-ads}@anchor{3f9} @section @code{Interfaces.VxWorks.IO} (@code{i-vxwoio.ads}) @@ -25483,7 +25529,7 @@ function codes. A particular use of this package is to enable the use of Get_Immediate under VxWorks. @node System Address_Image s-addima ads,System Assertions s-assert ads,Interfaces VxWorks IO i-vxwoio ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library id134}@anchor{3f7}@anchor{gnat_rm/the_gnat_library system-address-image-s-addima-ads}@anchor{3f8} +@anchor{gnat_rm/the_gnat_library id134}@anchor{3fa}@anchor{gnat_rm/the_gnat_library system-address-image-s-addima-ads}@anchor{3fb} @section @code{System.Address_Image} (@code{s-addima.ads}) @@ -25499,7 +25545,7 @@ function that gives an (implementation dependent) string which identifies an address. @node System Assertions s-assert ads,System Atomic_Counters s-atocou ads,System Address_Image s-addima ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library id135}@anchor{3f9}@anchor{gnat_rm/the_gnat_library system-assertions-s-assert-ads}@anchor{3fa} +@anchor{gnat_rm/the_gnat_library id135}@anchor{3fc}@anchor{gnat_rm/the_gnat_library system-assertions-s-assert-ads}@anchor{3fd} @section @code{System.Assertions} (@code{s-assert.ads}) @@ -25515,7 +25561,7 @@ by an run-time assertion failure, as well as the routine that is used internally to raise this assertion. @node System Atomic_Counters s-atocou ads,System Memory s-memory ads,System Assertions s-assert ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library id136}@anchor{3fb}@anchor{gnat_rm/the_gnat_library system-atomic-counters-s-atocou-ads}@anchor{3fc} +@anchor{gnat_rm/the_gnat_library id136}@anchor{3fe}@anchor{gnat_rm/the_gnat_library system-atomic-counters-s-atocou-ads}@anchor{3ff} @section @code{System.Atomic_Counters} (@code{s-atocou.ads}) @@ -25529,7 +25575,7 @@ on most targets, including all Alpha, AARCH64, ARM, ia64, PowerPC, SPARC V9, x86, and x86_64 platforms. @node System Memory s-memory ads,System Multiprocessors s-multip ads,System Atomic_Counters s-atocou ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library id137}@anchor{3fd}@anchor{gnat_rm/the_gnat_library system-memory-s-memory-ads}@anchor{3fe} +@anchor{gnat_rm/the_gnat_library id137}@anchor{400}@anchor{gnat_rm/the_gnat_library system-memory-s-memory-ads}@anchor{401} @section @code{System.Memory} (@code{s-memory.ads}) @@ -25547,7 +25593,7 @@ calls to this unit may be made for low level allocation uses (for example see the body of @code{GNAT.Tables}). @node System Multiprocessors s-multip ads,System Multiprocessors Dispatching_Domains s-mudido ads,System Memory s-memory ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library id138}@anchor{3ff}@anchor{gnat_rm/the_gnat_library system-multiprocessors-s-multip-ads}@anchor{400} +@anchor{gnat_rm/the_gnat_library id138}@anchor{402}@anchor{gnat_rm/the_gnat_library system-multiprocessors-s-multip-ads}@anchor{403} @section @code{System.Multiprocessors} (@code{s-multip.ads}) @@ -25560,7 +25606,7 @@ in GNAT we also make it available in Ada 95 and Ada 2005 (where it is technically an implementation-defined addition). @node System Multiprocessors Dispatching_Domains s-mudido ads,System Partition_Interface s-parint ads,System Multiprocessors s-multip ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library id139}@anchor{401}@anchor{gnat_rm/the_gnat_library system-multiprocessors-dispatching-domains-s-mudido-ads}@anchor{402} +@anchor{gnat_rm/the_gnat_library id139}@anchor{404}@anchor{gnat_rm/the_gnat_library system-multiprocessors-dispatching-domains-s-mudido-ads}@anchor{405} @section @code{System.Multiprocessors.Dispatching_Domains} (@code{s-mudido.ads}) @@ -25573,7 +25619,7 @@ in GNAT we also make it available in Ada 95 and Ada 2005 (where it is technically an implementation-defined addition). @node System Partition_Interface s-parint ads,System Pool_Global s-pooglo ads,System Multiprocessors Dispatching_Domains s-mudido ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library id140}@anchor{403}@anchor{gnat_rm/the_gnat_library system-partition-interface-s-parint-ads}@anchor{404} +@anchor{gnat_rm/the_gnat_library id140}@anchor{406}@anchor{gnat_rm/the_gnat_library system-partition-interface-s-parint-ads}@anchor{407} @section @code{System.Partition_Interface} (@code{s-parint.ads}) @@ -25583,10 +25629,10 @@ technically an implementation-defined addition). This package provides facilities for partition interfacing. It is used primarily in a distribution context when using Annex E -with @code{GLADE}. +with @code{PolyORB}. @node System Pool_Global s-pooglo ads,System Pool_Local s-pooloc ads,System Partition_Interface s-parint ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library id141}@anchor{405}@anchor{gnat_rm/the_gnat_library system-pool-global-s-pooglo-ads}@anchor{406} +@anchor{gnat_rm/the_gnat_library id141}@anchor{408}@anchor{gnat_rm/the_gnat_library system-pool-global-s-pooglo-ads}@anchor{409} @section @code{System.Pool_Global} (@code{s-pooglo.ads}) @@ -25603,7 +25649,7 @@ declared. It uses malloc/free to allocate/free and does not attempt to do any automatic reclamation. @node System Pool_Local s-pooloc ads,System Restrictions s-restri ads,System Pool_Global s-pooglo ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library id142}@anchor{407}@anchor{gnat_rm/the_gnat_library system-pool-local-s-pooloc-ads}@anchor{408} +@anchor{gnat_rm/the_gnat_library id142}@anchor{40a}@anchor{gnat_rm/the_gnat_library system-pool-local-s-pooloc-ads}@anchor{40b} @section @code{System.Pool_Local} (@code{s-pooloc.ads}) @@ -25620,7 +25666,7 @@ a list of allocated blocks, so that all storage allocated for the pool can be freed automatically when the pool is finalized. @node System Restrictions s-restri ads,System Rident s-rident ads,System Pool_Local s-pooloc ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library id143}@anchor{409}@anchor{gnat_rm/the_gnat_library system-restrictions-s-restri-ads}@anchor{40a} +@anchor{gnat_rm/the_gnat_library id143}@anchor{40c}@anchor{gnat_rm/the_gnat_library system-restrictions-s-restri-ads}@anchor{40d} @section @code{System.Restrictions} (@code{s-restri.ads}) @@ -25636,7 +25682,7 @@ compiler determined information on which restrictions are violated by one or more packages in the partition. @node System Rident s-rident ads,System Strings Stream_Ops s-ststop ads,System Restrictions s-restri ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library id144}@anchor{40b}@anchor{gnat_rm/the_gnat_library system-rident-s-rident-ads}@anchor{40c} +@anchor{gnat_rm/the_gnat_library id144}@anchor{40e}@anchor{gnat_rm/the_gnat_library system-rident-s-rident-ads}@anchor{40f} @section @code{System.Rident} (@code{s-rident.ads}) @@ -25652,7 +25698,7 @@ since the necessary instantiation is included in package System.Restrictions. @node System Strings Stream_Ops s-ststop ads,System Unsigned_Types s-unstyp ads,System Rident s-rident ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library id145}@anchor{40d}@anchor{gnat_rm/the_gnat_library system-strings-stream-ops-s-ststop-ads}@anchor{40e} +@anchor{gnat_rm/the_gnat_library id145}@anchor{410}@anchor{gnat_rm/the_gnat_library system-strings-stream-ops-s-ststop-ads}@anchor{411} @section @code{System.Strings.Stream_Ops} (@code{s-ststop.ads}) @@ -25668,7 +25714,7 @@ stream attributes are applied to string types, but the subprograms in this package can be used directly by application programs. @node System Unsigned_Types s-unstyp ads,System Wch_Cnv s-wchcnv ads,System Strings Stream_Ops s-ststop ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library id146}@anchor{40f}@anchor{gnat_rm/the_gnat_library system-unsigned-types-s-unstyp-ads}@anchor{410} +@anchor{gnat_rm/the_gnat_library id146}@anchor{412}@anchor{gnat_rm/the_gnat_library system-unsigned-types-s-unstyp-ads}@anchor{413} @section @code{System.Unsigned_Types} (@code{s-unstyp.ads}) @@ -25681,7 +25727,7 @@ also contains some related definitions for other specialized types used by the compiler in connection with packed array types. @node System Wch_Cnv s-wchcnv ads,System Wch_Con s-wchcon ads,System Unsigned_Types s-unstyp ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library id147}@anchor{411}@anchor{gnat_rm/the_gnat_library system-wch-cnv-s-wchcnv-ads}@anchor{412} +@anchor{gnat_rm/the_gnat_library id147}@anchor{414}@anchor{gnat_rm/the_gnat_library system-wch-cnv-s-wchcnv-ads}@anchor{415} @section @code{System.Wch_Cnv} (@code{s-wchcnv.ads}) @@ -25702,7 +25748,7 @@ encoding method. It uses definitions in package @code{System.Wch_Con}. @node System Wch_Con s-wchcon ads,,System Wch_Cnv s-wchcnv ads,The GNAT Library -@anchor{gnat_rm/the_gnat_library id148}@anchor{413}@anchor{gnat_rm/the_gnat_library system-wch-con-s-wchcon-ads}@anchor{414} +@anchor{gnat_rm/the_gnat_library id148}@anchor{416}@anchor{gnat_rm/the_gnat_library system-wch-con-s-wchcon-ads}@anchor{417} @section @code{System.Wch_Con} (@code{s-wchcon.ads}) @@ -25714,7 +25760,7 @@ in ordinary strings. These definitions are used by the package @code{System.Wch_Cnv}. @node Interfacing to Other Languages,Specialized Needs Annexes,The GNAT Library,Top -@anchor{gnat_rm/interfacing_to_other_languages doc}@anchor{415}@anchor{gnat_rm/interfacing_to_other_languages id1}@anchor{416}@anchor{gnat_rm/interfacing_to_other_languages interfacing-to-other-languages}@anchor{11} +@anchor{gnat_rm/interfacing_to_other_languages doc}@anchor{418}@anchor{gnat_rm/interfacing_to_other_languages id1}@anchor{419}@anchor{gnat_rm/interfacing_to_other_languages interfacing-to-other-languages}@anchor{11} @chapter Interfacing to Other Languages @@ -25732,7 +25778,7 @@ provided. @end menu @node Interfacing to C,Interfacing to C++,,Interfacing to Other Languages -@anchor{gnat_rm/interfacing_to_other_languages id2}@anchor{417}@anchor{gnat_rm/interfacing_to_other_languages interfacing-to-c}@anchor{418} +@anchor{gnat_rm/interfacing_to_other_languages id2}@anchor{41a}@anchor{gnat_rm/interfacing_to_other_languages interfacing-to-c}@anchor{41b} @section Interfacing to C @@ -25872,7 +25918,7 @@ of the length corresponding to the @code{type'Size} value in Ada. @end itemize @node Interfacing to C++,Interfacing to COBOL,Interfacing to C,Interfacing to Other Languages -@anchor{gnat_rm/interfacing_to_other_languages id3}@anchor{49}@anchor{gnat_rm/interfacing_to_other_languages id4}@anchor{419} +@anchor{gnat_rm/interfacing_to_other_languages id3}@anchor{49}@anchor{gnat_rm/interfacing_to_other_languages id4}@anchor{41c} @section Interfacing to C++ @@ -26089,7 +26135,7 @@ builds an opaque @code{Type_Info_Ptr} to reference a @code{std::type_info} object at a given @code{System.Address}. @node Interfacing to COBOL,Interfacing to Fortran,Interfacing to C++,Interfacing to Other Languages -@anchor{gnat_rm/interfacing_to_other_languages id5}@anchor{41a}@anchor{gnat_rm/interfacing_to_other_languages interfacing-to-cobol}@anchor{41b} +@anchor{gnat_rm/interfacing_to_other_languages id5}@anchor{41d}@anchor{gnat_rm/interfacing_to_other_languages interfacing-to-cobol}@anchor{41e} @section Interfacing to COBOL @@ -26097,7 +26143,7 @@ Interfacing to COBOL is achieved as described in section B.4 of the Ada Reference Manual. @node Interfacing to Fortran,Interfacing to non-GNAT Ada code,Interfacing to COBOL,Interfacing to Other Languages -@anchor{gnat_rm/interfacing_to_other_languages id6}@anchor{41c}@anchor{gnat_rm/interfacing_to_other_languages interfacing-to-fortran}@anchor{41d} +@anchor{gnat_rm/interfacing_to_other_languages id6}@anchor{41f}@anchor{gnat_rm/interfacing_to_other_languages interfacing-to-fortran}@anchor{420} @section Interfacing to Fortran @@ -26107,7 +26153,7 @@ multi-dimensional array causes the array to be stored in column-major order as required for convenient interface to Fortran. @node Interfacing to non-GNAT Ada code,,Interfacing to Fortran,Interfacing to Other Languages -@anchor{gnat_rm/interfacing_to_other_languages id7}@anchor{41e}@anchor{gnat_rm/interfacing_to_other_languages interfacing-to-non-gnat-ada-code}@anchor{41f} +@anchor{gnat_rm/interfacing_to_other_languages id7}@anchor{421}@anchor{gnat_rm/interfacing_to_other_languages interfacing-to-non-gnat-ada-code}@anchor{422} @section Interfacing to non-GNAT Ada code @@ -26131,13 +26177,11 @@ values or simple record types without variants, or simple array types with fixed bounds. @node Specialized Needs Annexes,Implementation of Specific Ada Features,Interfacing to Other Languages,Top -@anchor{gnat_rm/specialized_needs_annexes doc}@anchor{420}@anchor{gnat_rm/specialized_needs_annexes id1}@anchor{421}@anchor{gnat_rm/specialized_needs_annexes specialized-needs-annexes}@anchor{12} +@anchor{gnat_rm/specialized_needs_annexes doc}@anchor{423}@anchor{gnat_rm/specialized_needs_annexes id1}@anchor{424}@anchor{gnat_rm/specialized_needs_annexes specialized-needs-annexes}@anchor{12} @chapter Specialized Needs Annexes -Ada 95, Ada 2005, and Ada 2012 define a number of Specialized Needs Annexes, which are not -required in all implementations. However, as described in this chapter, -GNAT implements all of these annexes: +Ada 95, Ada 2005, Ada 2012, and Ada 2022 define a number of Specialized Needs Annexes, which are not required in all implementations. However, as described in this chapter, GNAT implements all of these annexes: @table @asis @@ -26153,9 +26197,8 @@ The Real-Time Systems Annex is fully implemented. @item `Distributed Systems (Annex E)' Stub generation is fully implemented in the GNAT compiler. In addition, -a complete compatible PCS is available as part of the GLADE system, -a separate product. When the two -products are used in conjunction, this annex is fully implemented. +a complete compatible PCS is available as part of @code{PolyORB}, +a separate product. Note, that PolyORB is a deprecated product and will be eventually replaced with other technologies such as @code{RTI}. @item `Information Systems (Annex F)' @@ -26171,8 +26214,8 @@ The Safety and Security Annex (termed the High-Integrity Systems Annex in Ada 2005) is fully implemented. @end table -@node Implementation of Specific Ada Features,Implementation of Ada 2012 Features,Specialized Needs Annexes,Top -@anchor{gnat_rm/implementation_of_specific_ada_features doc}@anchor{422}@anchor{gnat_rm/implementation_of_specific_ada_features id1}@anchor{423}@anchor{gnat_rm/implementation_of_specific_ada_features implementation-of-specific-ada-features}@anchor{13} +@node Implementation of Specific Ada Features,Implementation of Ada 2022 Features,Specialized Needs Annexes,Top +@anchor{gnat_rm/implementation_of_specific_ada_features doc}@anchor{425}@anchor{gnat_rm/implementation_of_specific_ada_features id1}@anchor{426}@anchor{gnat_rm/implementation_of_specific_ada_features implementation-of-specific-ada-features}@anchor{13} @chapter Implementation of Specific Ada Features @@ -26191,7 +26234,7 @@ facilities. @end menu @node Machine Code Insertions,GNAT Implementation of Tasking,,Implementation of Specific Ada Features -@anchor{gnat_rm/implementation_of_specific_ada_features id2}@anchor{424}@anchor{gnat_rm/implementation_of_specific_ada_features machine-code-insertions}@anchor{17d} +@anchor{gnat_rm/implementation_of_specific_ada_features id2}@anchor{427}@anchor{gnat_rm/implementation_of_specific_ada_features machine-code-insertions}@anchor{180} @section Machine Code Insertions @@ -26359,7 +26402,7 @@ according to normal visibility rules. In particular if there is no qualification is required. @node GNAT Implementation of Tasking,GNAT Implementation of Shared Passive Packages,Machine Code Insertions,Implementation of Specific Ada Features -@anchor{gnat_rm/implementation_of_specific_ada_features gnat-implementation-of-tasking}@anchor{425}@anchor{gnat_rm/implementation_of_specific_ada_features id3}@anchor{426} +@anchor{gnat_rm/implementation_of_specific_ada_features gnat-implementation-of-tasking}@anchor{428}@anchor{gnat_rm/implementation_of_specific_ada_features id3}@anchor{429} @section GNAT Implementation of Tasking @@ -26375,7 +26418,7 @@ to compliance with the Real-Time Systems Annex. @end menu @node Mapping Ada Tasks onto the Underlying Kernel Threads,Ensuring Compliance with the Real-Time Annex,,GNAT Implementation of Tasking -@anchor{gnat_rm/implementation_of_specific_ada_features id4}@anchor{427}@anchor{gnat_rm/implementation_of_specific_ada_features mapping-ada-tasks-onto-the-underlying-kernel-threads}@anchor{428} +@anchor{gnat_rm/implementation_of_specific_ada_features id4}@anchor{42a}@anchor{gnat_rm/implementation_of_specific_ada_features mapping-ada-tasks-onto-the-underlying-kernel-threads}@anchor{42b} @subsection Mapping Ada Tasks onto the Underlying Kernel Threads @@ -26444,7 +26487,7 @@ support this functionality when the parent contains more than one task. @geindex Forking a new process @node Ensuring Compliance with the Real-Time Annex,Support for Locking Policies,Mapping Ada Tasks onto the Underlying Kernel Threads,GNAT Implementation of Tasking -@anchor{gnat_rm/implementation_of_specific_ada_features ensuring-compliance-with-the-real-time-annex}@anchor{429}@anchor{gnat_rm/implementation_of_specific_ada_features id5}@anchor{42a} +@anchor{gnat_rm/implementation_of_specific_ada_features ensuring-compliance-with-the-real-time-annex}@anchor{42c}@anchor{gnat_rm/implementation_of_specific_ada_features id5}@anchor{42d} @subsection Ensuring Compliance with the Real-Time Annex @@ -26495,7 +26538,7 @@ placed at the end. @c Support_for_Locking_Policies @node Support for Locking Policies,,Ensuring Compliance with the Real-Time Annex,GNAT Implementation of Tasking -@anchor{gnat_rm/implementation_of_specific_ada_features support-for-locking-policies}@anchor{42b} +@anchor{gnat_rm/implementation_of_specific_ada_features support-for-locking-policies}@anchor{42e} @subsection Support for Locking Policies @@ -26529,7 +26572,7 @@ then ceiling locking is used. Otherwise, the @code{Ceiling_Locking} policy is ignored. @node GNAT Implementation of Shared Passive Packages,Code Generation for Array Aggregates,GNAT Implementation of Tasking,Implementation of Specific Ada Features -@anchor{gnat_rm/implementation_of_specific_ada_features gnat-implementation-of-shared-passive-packages}@anchor{42c}@anchor{gnat_rm/implementation_of_specific_ada_features id6}@anchor{42d} +@anchor{gnat_rm/implementation_of_specific_ada_features gnat-implementation-of-shared-passive-packages}@anchor{42f}@anchor{gnat_rm/implementation_of_specific_ada_features id6}@anchor{430} @section GNAT Implementation of Shared Passive Packages @@ -26627,7 +26670,7 @@ This is used to provide the required locking semantics for proper protected object synchronization. @node Code Generation for Array Aggregates,The Size of Discriminated Records with Default Discriminants,GNAT Implementation of Shared Passive Packages,Implementation of Specific Ada Features -@anchor{gnat_rm/implementation_of_specific_ada_features code-generation-for-array-aggregates}@anchor{42e}@anchor{gnat_rm/implementation_of_specific_ada_features id7}@anchor{42f} +@anchor{gnat_rm/implementation_of_specific_ada_features code-generation-for-array-aggregates}@anchor{431}@anchor{gnat_rm/implementation_of_specific_ada_features id7}@anchor{432} @section Code Generation for Array Aggregates @@ -26658,7 +26701,7 @@ component values and static subtypes also lead to simpler code. @end menu @node Static constant aggregates with static bounds,Constant aggregates with unconstrained nominal types,,Code Generation for Array Aggregates -@anchor{gnat_rm/implementation_of_specific_ada_features id8}@anchor{430}@anchor{gnat_rm/implementation_of_specific_ada_features static-constant-aggregates-with-static-bounds}@anchor{431} +@anchor{gnat_rm/implementation_of_specific_ada_features id8}@anchor{433}@anchor{gnat_rm/implementation_of_specific_ada_features static-constant-aggregates-with-static-bounds}@anchor{434} @subsection Static constant aggregates with static bounds @@ -26705,7 +26748,7 @@ Zero2: constant two_dim := (others => (others => 0)); @end example @node Constant aggregates with unconstrained nominal types,Aggregates with static bounds,Static constant aggregates with static bounds,Code Generation for Array Aggregates -@anchor{gnat_rm/implementation_of_specific_ada_features constant-aggregates-with-unconstrained-nominal-types}@anchor{432}@anchor{gnat_rm/implementation_of_specific_ada_features id9}@anchor{433} +@anchor{gnat_rm/implementation_of_specific_ada_features constant-aggregates-with-unconstrained-nominal-types}@anchor{435}@anchor{gnat_rm/implementation_of_specific_ada_features id9}@anchor{436} @subsection Constant aggregates with unconstrained nominal types @@ -26720,7 +26763,7 @@ Cr_Unc : constant One_Unc := (12,24,36); @end example @node Aggregates with static bounds,Aggregates with nonstatic bounds,Constant aggregates with unconstrained nominal types,Code Generation for Array Aggregates -@anchor{gnat_rm/implementation_of_specific_ada_features aggregates-with-static-bounds}@anchor{434}@anchor{gnat_rm/implementation_of_specific_ada_features id10}@anchor{435} +@anchor{gnat_rm/implementation_of_specific_ada_features aggregates-with-static-bounds}@anchor{437}@anchor{gnat_rm/implementation_of_specific_ada_features id10}@anchor{438} @subsection Aggregates with static bounds @@ -26748,7 +26791,7 @@ end loop; @end example @node Aggregates with nonstatic bounds,Aggregates in assignment statements,Aggregates with static bounds,Code Generation for Array Aggregates -@anchor{gnat_rm/implementation_of_specific_ada_features aggregates-with-nonstatic-bounds}@anchor{436}@anchor{gnat_rm/implementation_of_specific_ada_features id11}@anchor{437} +@anchor{gnat_rm/implementation_of_specific_ada_features aggregates-with-nonstatic-bounds}@anchor{439}@anchor{gnat_rm/implementation_of_specific_ada_features id11}@anchor{43a} @subsection Aggregates with nonstatic bounds @@ -26759,7 +26802,7 @@ have to be applied to sub-arrays individually, if they do not have statically compatible subtypes. @node Aggregates in assignment statements,,Aggregates with nonstatic bounds,Code Generation for Array Aggregates -@anchor{gnat_rm/implementation_of_specific_ada_features aggregates-in-assignment-statements}@anchor{438}@anchor{gnat_rm/implementation_of_specific_ada_features id12}@anchor{439} +@anchor{gnat_rm/implementation_of_specific_ada_features aggregates-in-assignment-statements}@anchor{43b}@anchor{gnat_rm/implementation_of_specific_ada_features id12}@anchor{43c} @subsection Aggregates in assignment statements @@ -26801,7 +26844,7 @@ a temporary (created either by the front-end or the code generator) and then that temporary will be copied onto the target. @node The Size of Discriminated Records with Default Discriminants,Image Values For Nonscalar Types,Code Generation for Array Aggregates,Implementation of Specific Ada Features -@anchor{gnat_rm/implementation_of_specific_ada_features id13}@anchor{43a}@anchor{gnat_rm/implementation_of_specific_ada_features the-size-of-discriminated-records-with-default-discriminants}@anchor{43b} +@anchor{gnat_rm/implementation_of_specific_ada_features id13}@anchor{43d}@anchor{gnat_rm/implementation_of_specific_ada_features the-size-of-discriminated-records-with-default-discriminants}@anchor{43e} @section The Size of Discriminated Records with Default Discriminants @@ -26881,7 +26924,7 @@ say) must be consistent, so it is imperative that the object, once created, remain invariant. @node Image Values For Nonscalar Types,Strict Conformance to the Ada Reference Manual,The Size of Discriminated Records with Default Discriminants,Implementation of Specific Ada Features -@anchor{gnat_rm/implementation_of_specific_ada_features id14}@anchor{43c}@anchor{gnat_rm/implementation_of_specific_ada_features image-values-for-nonscalar-types}@anchor{43d} +@anchor{gnat_rm/implementation_of_specific_ada_features id14}@anchor{43f}@anchor{gnat_rm/implementation_of_specific_ada_features image-values-for-nonscalar-types}@anchor{440} @section Image Values For Nonscalar Types @@ -26901,7 +26944,7 @@ control of image text is required for some type T, then T’Put_Image should be explicitly specified. @node Strict Conformance to the Ada Reference Manual,,Image Values For Nonscalar Types,Implementation of Specific Ada Features -@anchor{gnat_rm/implementation_of_specific_ada_features id15}@anchor{43e}@anchor{gnat_rm/implementation_of_specific_ada_features strict-conformance-to-the-ada-reference-manual}@anchor{43f} +@anchor{gnat_rm/implementation_of_specific_ada_features id15}@anchor{441}@anchor{gnat_rm/implementation_of_specific_ada_features strict-conformance-to-the-ada-reference-manual}@anchor{442} @section Strict Conformance to the Ada Reference Manual @@ -26927,31 +26970,25 @@ machines that are not fully compliant with this standard, such as Alpha, the behavior (although at the cost of a significant performance penalty), so infinite and NaN values are properly generated. -@node Implementation of Ada 2012 Features,GNAT language extensions,Implementation of Specific Ada Features,Top -@anchor{gnat_rm/implementation_of_ada_2012_features doc}@anchor{440}@anchor{gnat_rm/implementation_of_ada_2012_features id1}@anchor{441}@anchor{gnat_rm/implementation_of_ada_2012_features implementation-of-ada-2012-features}@anchor{14} -@chapter Implementation of Ada 2012 Features +@node Implementation of Ada 2022 Features,GNAT language extensions,Implementation of Specific Ada Features,Top +@anchor{gnat_rm/implementation_of_ada_2022_features doc}@anchor{443}@anchor{gnat_rm/implementation_of_ada_2022_features id1}@anchor{444}@anchor{gnat_rm/implementation_of_ada_2022_features implementation-of-ada-2022-features}@anchor{14} +@chapter Implementation of Ada 2022 Features -@geindex Ada 2012 implementation status +@geindex Ada 2022 implementation status -@geindex -gnat12 option (gcc) +@geindex -gnat22 option (gcc) -@geindex pragma Ada_2012 +@geindex pragma Ada_2022 -@geindex configuration pragma Ada_2012 +@geindex configuration pragma Ada_2022 -@geindex Ada_2012 configuration pragma +@geindex Ada_2022 configuration pragma -This chapter contains a complete list of Ada 2012 features that have been -implemented. -Generally, these features are only -available if the `-gnat12' (Ada 2012 features enabled) option is set, -which is the default behavior, -or if the configuration pragma @code{Ada_2012} is used. +This chapter contains a complete list of Ada 2022 features that have been +implemented. Generally, these features are only available if the `-gnat22' (Ada 2022 features enabled) option is set, or if the configuration pragma @code{Ada_2022} is used. -However, new pragmas, attributes, and restrictions are -unconditionally available, since the Ada 95 standard allows the addition of -new pragmas, attributes, and restrictions (there are exceptions, which are +However, new pragmas, attributes, and restrictions are unconditionally available, since the Ada standard allows the addition of new pragmas, attributes, and restrictions (there are exceptions, which are documented in the individual descriptions), and also certain packages were made available in earlier versions of Ada. @@ -26963,2138 +27000,3397 @@ implemented the feature, or implemented it as soon as it appeared as a binding interpretation. Each feature corresponds to an Ada Issue (‘AI’) approved by the Ada -standardization group (ISO/IEC JTC1/SC22/WG9) for inclusion in Ada 2012. -The features are ordered based on the relevant sections of the Ada -Reference Manual (“RM”). When a given AI relates to multiple points -in the RM, the earliest is used. +standardization group (ISO/IEC JTC1/SC22/WG9) for inclusion in Ada 2022. -A complete description of the AIs may be found in -@indicateurl{http://www.ada-auth.org/ai05-summary.html}. +The section “RM references” lists all modified paragraphs in the Ada 2012 reference manual. The details of each modification as well as a complete description of the AIs may be found in +@indicateurl{http://www.ada-auth.org/AI12-SUMMARY.HTML}. -@geindex AI-0002 (Ada 2012 feature) +@geindex AI12-0001 (Ada 2022 feature) @itemize * @item -`AI-0002 Export C with unconstrained arrays (0000-00-00)' +`AI12-0001 Independence and Representation clauses for atomic objects (2019-11-27)' -The compiler is not required to support exporting an Ada subprogram with -convention C if there are parameters or a return type of an unconstrained -array type (such as @code{String}). GNAT allows such declarations but -generates warnings. It is possible, but complicated, to write the -corresponding C code and certainly such code would be specific to GNAT and -non-portable. +The compiler accepts packing clauses in all cases, even if they have effectively no influence on the layout. Types, where packing is essentially infeasible are, for instance atomic, aliased and by-reference types. -RM References: B.01 (17) B.03 (62) B.03 (71.1/2) +RM references: 13.02 (6.1/2) 13.02 (7) 13.02 (8) 13.02 (9/3) C.06 (8.1/3) +C.06 (10) C.06 (11) C.06 (21) C.06 (24) @end itemize -@geindex AI-0003 (Ada 2012 feature) +@geindex AI12-0003 (Ada 2022 feature) @itemize * @item -`AI-0003 Qualified expressions as names (2010-07-11)' +`AI12-0003 Specifying the standard storage pool (2020-06-25)' -In Ada 2012, a qualified expression is considered to be syntactically a name, -meaning that constructs such as @code{A'(F(X)).B} are now legal. This is -useful in disambiguating some cases of overloading. +Allows the standard storage pool being specified with a @code{Default_Storage_Pool} pragma or aspect. -RM References: 3.03 (11) 3.03 (21) 4.01 (2) 4.04 (7) 4.07 (3) -5.04 (7) +RM references: 8.02 (11) 13.11.03 (1/3) 13.11.03 (3.1/3) 13.11.03 (4/3) +13.11.03 (4.1/3) 13.11.03 (5/3) 13.11.03 (6.2/3) 13.11.03 +(6.3/3) @end itemize -@geindex AI-0007 (Ada 2012 feature) +@geindex AI12-0004 (Ada 2022 feature) @itemize * @item -`AI-0007 Stream read and private scalar types (0000-00-00)' +`AI12-0004 Normalization and allowed characters for identifiers (2020-06-11)' -The RM as written appeared to limit the possibilities of declaring read -attribute procedures for private scalar types. This limitation was not -intended, and has never been enforced by GNAT. +This AI clarifies that Ada identifiers containing characters which are not +allowed in Normalization Form KC are illegal. -RM References: 13.13.02 (50/2) 13.13.02 (51/2) +RM references: 2.01 (4.1/3) 2.03 (4/3) A.03.02 (4/3) A.03.02 (32.5/3) +A.03.05 (18/3) A.03.05 (51/3) @end itemize -@geindex AI-0008 (Ada 2012 feature) +@geindex AI12-0020 (Ada 2022 feature) @itemize * @item -`AI-0008 General access to constrained objects (0000-00-00)' +`AI12-0020 ‘Image for all types (2020-03-30)' -The wording in the RM implied that if you have a general access to a -constrained object, it could be used to modify the discriminants. This was -obviously not intended. @code{Constraint_Error} should be raised, and GNAT -has always done so in this situation. +Put_Image prints out a human-readable representation of an object. The +functionality in Ada2022 RM is fully implemented except the support for +types in the @code{Remote_Types} packages. -RM References: 3.03 (23) 3.10.02 (26/2) 4.01 (9) 6.04.01 (17) 8.05.01 (5/2) +RM references: 4.10 (0) 3.05 (27.1/2) 3.05 (27.2/2) 3.05 (27.3/2) 3.05 +(27.4/2) 3.05 (27.5/2) 3.05 (27.6/2) 3.05 (27.7/2) 3.05 (28) 3.05 +(29) 3.05 (30/3) 3.05 (31) 3.05 (32) 3.05 (33/3) 3.05 (37.1/2) +3.05 (38) 3.05 (39) 3.05 (43/3) 3.05 (55/3) 3.05 (55.1/5) 3.05 +(55.2/4) 3.05 (55.3/4) 3.05 (55.4/4) 3.05 (59) H.04 (23) H.04 (23.8/2) @end itemize -@geindex AI-0009 (Ada 2012 feature) +@geindex AI12-0022 (Ada 2022 feature) @itemize * @item -`AI-0009 Pragma Independent[_Components] (2010-07-23)' +`AI12-0022 Raise_Expressions (2013-01-27)' -This AI introduces the new pragmas @code{Independent} and -@code{Independent_Components}, -which control guaranteeing independence of access to objects and components. -The AI also requires independence not unaffected by confirming rep clauses. +This feature allows you to write “raise NAME [with STRING]” in an +expression to rise given exception. It is particularly useful in the case of +assertions such as preconditions allowing to specify which exception a +precondition raises if it fails. -RM References: 9.10 (1) 13.01 (15/1) 13.02 (9) 13.03 (13) C.06 (2) -C.06 (4) C.06 (6) C.06 (9) C.06 (13) C.06 (14) +RM references: 4.04 (3/3) 11.02 (6) 11.03 (2/2) 11.03 (3) 11.03 (3.1/2) +11.03 (4/2) 11.04.01 (10.1/3) @end itemize -@geindex AI-0012 (Ada 2012 feature) +@geindex AI12-0027 (Ada 2022 feature) @itemize * @item -`AI-0012 Pack/Component_Size for aliased/atomic (2010-07-15)' +`AI12-0027 Access values should never designate unaliased components (2020-06-15)' -It is now illegal to give an inappropriate component size or a pragma -@code{Pack} that attempts to change the component size in the case of atomic -or aliased components. Previously GNAT ignored such an attempt with a -warning. +AI12-0027 adds a requirement for a value conversion that converts from an array of unaliased components to an array of aliased components to make a copy. It defines such conversions to have a local accessibility, effectively preventing the possibility of unsafe accesses to unaliased components. -RM References: 13.02 (6.1/2) 13.02 (7) C.06 (10) C.06 (11) C.06 (21) +RM references: 4.06 (24.17/3) 4.06 (24.21/2) 4.06 (58) 6.02 (10/3) 3.10.02 (10/3) @end itemize -@geindex AI-0015 (Ada 2012 feature) +@geindex AI12-0028 (Ada 2022 feature) @itemize * @item -`AI-0015 Constant return objects (0000-00-00)' +`AI12-0028 Import of variadic C functions (2020-03-03)' -The return object declared in an `extended_return_statement' may be -declared constant. This was always intended, and GNAT has always allowed it. +Ada programs can now properly call variadic C functions by means of the +conventions C_Variadic_<n>, for small integer values <n>. -RM References: 6.05 (2.1/2) 3.03 (10/2) 3.03 (21) 6.05 (5/2) -6.05 (5.7/2) +RM references: B.03 (1/3) B.03 (60.15/3) B.03 (75) @end itemize -@geindex AI-0017 (Ada 2012 feature) +@geindex AI12-0030 (Ada 2022 feature) @itemize * @item -`AI-0017 Freezing and incomplete types (0000-00-00)' +`AI12-0030 Formal derived types and stream attribute availability (2020-08-21)' -So-called ‘Taft-amendment types’ (i.e., types that are completed in package -bodies) are not frozen by the occurrence of bodies in the -enclosing declarative part. GNAT always implemented this properly. +Corner cases involving streaming operations for formal derived limited types +that are now defined to raise Program_Error. Before, behavior in these cases +was undefined. Stream attribute availability is more precisely computed in cases where a derived type declaration occurs ahead of a streaming attribute specification for the parent type. -RM References: 13.14 (3/1) +RM references: 12.05.01 (21/3) 13.13.02 (49/2) @end itemize -@geindex AI-0019 (Ada 2012 feature) +@geindex AI12-0031 (Ada 2022 feature) @itemize * @item -`AI-0019 Freezing of primitives for tagged types (0000-00-00)' +`AI12-0031 All_Calls_Remote and indirect calls (0000-00-00)' -The RM suggests that primitive subprograms of a specific tagged type are -frozen when the tagged type is frozen. This would be an incompatible change -and is not intended. GNAT has never attempted this kind of freezing and its -behavior is consistent with the recommendation of this AI. +Remote indirect calls (i.e., calls through a remote access-to-subprogram type) +behave the same as remote direct calls. -RM References: 13.14 (2) 13.14 (3/1) 13.14 (8.1/1) 13.14 (10) 13.14 (14) 13.14 (15.1/2) +RM references: E.02.03 (19/3) @end itemize -@geindex AI-0026 (Ada 2012 feature) +@geindex AI12-0032 (Ada 2022 feature) @itemize * @item -`AI-0026 Missing rules for Unchecked_Union (2010-07-07)' +`AI12-0032 Questions on ‘Old (2020-04-24)' -Record representation clauses concerning Unchecked_Union types cannot mention -the discriminant of the type. The type of a component declared in the variant -part of an Unchecked_Union cannot be controlled, have controlled components, -nor have protected or task parts. If an Unchecked_Union type is declared -within the body of a generic unit or its descendants, then the type of a -component declared in the variant part cannot be a formal private type or a -formal private extension declared within the same generic unit. +AI12-0032 resolves several issues related to the ‘Old attribute. The GNAT +compiler already implemented what the AI requires in most of those cases, but two having to do with static and dynamic checking of the accessibility level of the constant object implicitly declared for an ‘Old attribute reference were not yet implemented. Accessibility checking for these constants is now implemented as defined in the AI. -RM References: 7.06 (9.4/2) B.03.03 (9/2) B.03.03 (10/2) +RM references: 4.01.03 (9/3) 6.01.01 (22/3) 6.01.01 (26/3) 6.01.01 (35/3) @end itemize -@geindex AI-0030 (Ada 2012 feature) +@geindex AI12-0033 (Ada 2022 feature) @itemize * @item -`AI-0030 Requeue on synchronized interfaces (2010-07-19)' +`AI12-0033 Sets of CPUs when defining dispatching domains (0000-00-00)' -Requeue is permitted to a protected, synchronized or task interface primitive -providing it is known that the overriding operation is an entry. Otherwise -the requeue statement has the same effect as a procedure call. Use of pragma -@code{Implemented} provides a way to impose a static requirement on the -overriding operation by adhering to one of the implementation kinds: entry, -protected procedure or any of the above. +The set of CPUs associated with a dispatching domain is no longer required +to be a contiguous range of CPU values. -RM References: 9.05 (9) 9.05.04 (2) 9.05.04 (3) 9.05.04 (5) -9.05.04 (6) 9.05.04 (7) 9.05.04 (12) +RM references: D.16.01 (7/3) D.16.01 (9/3) D.16.01 (20/3) D.16.01 (23/3) +D.16.01 (24/3) D.16.01 (26/3) @end itemize -@geindex AI-0031 (Ada 2012 feature) +@geindex AI12-0035 (Ada 2022 feature) @itemize * @item -`AI-0031 Add From parameter to Find_Token (2010-07-25)' +`AI12-0035 Accessibility checks for indefinite elements of containers (0000-00-00)' -A new version of @code{Find_Token} is added to all relevant string packages, -with an extra parameter @code{From}. Instead of starting at the first -character of the string, the search for a matching Token starts at the -character indexed by the value of @code{From}. -These procedures are available in all versions of Ada -but if used in versions earlier than Ada 2012 they will generate a warning -that an Ada 2012 subprogram is being used. +If the element type for an instance of one of the indefinite container generics has an access discriminant, then accessibility checks (at run-time) prevent inserting a value into a container object if the value’s discriminant designates an object that is too short-lived (that is, if the designated object has an accessibility level that is deeper than that of the instance). Without this check, dangling references would be possible. GNAT handled this correctly already before this AI was issued. -RM References: A.04.03 (16) A.04.03 (67) A.04.03 (68/1) A.04.04 (51) -A.04.05 (46) +RM references: A.18 (5/3) A.18.11 (8/2) A.18.12 (7/2) A.18.13 (8/2) +A.18.14 (8/2) A.18.15 (4/2) A.18.16 (4/2) A.18.17 (7/3) A.18.18 +(39/3) A.18.18 (47/3) @end itemize -@geindex AI-0032 (Ada 2012 feature) +@geindex AI12-0036 (Ada 2022 feature) @itemize * @item -`AI-0032 Extended return for class-wide functions (0000-00-00)' +`AI12-0036 The actual for an untagged formal derived type cannot be tagged (2019-10-21)' -If a function returns a class-wide type, the object of an extended return -statement can be declared with a specific type that is covered by the class- -wide type. This has been implemented in GNAT since the introduction of -extended returns. Note AI-0103 complements this AI by imposing matching -rules for constrained return types. +AI12-0036 is a binding interpretation that adds the following legality rule: +The actual type for a formal derived type shall be tagged if and only if the +formal derived type is a private extension. The check is implemented for all Ada dialects, not just Ada 2022. -RM References: 6.05 (5.2/2) 6.05 (5.3/2) 6.05 (5.6/2) 6.05 (5.8/2) -6.05 (8/2) +RM references: 12.05.01 (5.1/3) @end itemize -@geindex AI-0033 (Ada 2012 feature) +@geindex AI12-0037 (Ada 2022 feature) @itemize * @item -`AI-0033 Attach/Interrupt_Handler in generic (2010-07-24)' +`AI12-0037 New types in Ada.Locales can’t be converted to/from strings (2016-09-10)' -Neither of these two pragmas may appear within a generic template, because -the generic might be instantiated at other than the library level. +The type definitions for Language_Code and Country_Code are now using dynamic +predicates. -RM References: 13.11.02 (16) C.03.01 (7/2) C.03.01 (8/2) +RM references: A.19 (4/3) @end itemize -@geindex AI-0034 (Ada 2012 feature) +@geindex AI12-0039 (Ada 2022 feature) @itemize * @item -`AI-0034 Categorization of limited views (0000-00-00)' +`AI12-0039 Ambiguity in syntax for membership expression removed (0000-00-00)' -The RM makes certain limited with clauses illegal because of categorization -considerations, when the corresponding normal with would be legal. This is -not intended, and GNAT has always implemented the recommended behavior. +An ambiguity in the syntax for membership expressions was resolved. For example, “A in B and C” can be parsed in only one way because of this AI. -RM References: 10.02.01 (11/1) 10.02.01 (17/2) +RM references: 4.04 (3/3) 4.04 (3.2/3) 4.05.02 (3.1/3) 4.05.02 (4) 4.05.02 +(4.1/3) 4.05.02 (27/3) 4.05.02 (27.1/3) 4.05.02 (28.1/3) 4.05.02 +(28.2/3) 4.05.02 (29/3) 4.05.02 (30/3) 4.05.02 (30.1/3) 4.05.02 +(30.2/3) 4.05.02 (30.3/3) 4.09 (11/3) 4.09 (32.6/3) 8.06 (27.1/3) +3.02.04 (17/3) @end itemize -@geindex AI-0035 (Ada 2012 feature) +@geindex AI12-0040 (Ada 2022 feature) @itemize * @item -`AI-0035 Inconsistencies with Pure units (0000-00-00)' +`AI12-0040 Resolving the selecting_expression of a case_expression (0000-00-00)' -This AI remedies some inconsistencies in the legality rules for Pure units. -Derived access types are legal in a pure unit (on the assumption that the -rule for a zero storage pool size has been enforced on the ancestor type). -The rules are enforced in generic instances and in subunits. GNAT has always -implemented the recommended behavior. +The definition of “complete context” is corrected so that selectors of case expressions +and of case statements are treated uniformly. -RM References: 10.02.01 (15.1/2) 10.02.01 (15.4/2) 10.02.01 (15.5/2) 10.02.01 (17/2) +RM references: 8.06 (9) @end itemize -@geindex AI-0037 (Ada 2012 feature) +@geindex AI12-0041 (Ada 2022 feature) @itemize * @item -`AI-0037 Out-of-range box associations in aggregate (0000-00-00)' +`AI12-0041 Type_Invariant’Class for interface types (2016-12-12)' -This AI confirms that an association of the form @code{Indx => <>} in an -array aggregate must raise @code{Constraint_Error} if @code{Indx} -is out of range. The RM specified a range check on other associations, but -not when the value of the association was defaulted. GNAT has always inserted -a constraint check on the index value. +Subprogram calls within class-wide type invariant expressions get resolved +as primitive operations instead of being dynamically dispatched. -RM References: 4.03.03 (29) +RM references: 7.03.02 (1/3) 7.03.02 (3/3) @end itemize -@geindex AI-0038 (Ada 2012 feature) +@geindex AI12-0042 (Ada 2022 feature) @itemize * @item -`AI-0038 Minor errors in Text_IO (0000-00-00)' +`AI12-0042 Type invariant checking rules (2020-06-05)' -These are minor errors in the description on three points. The intent on -all these points has always been clear, and GNAT has always implemented the -correct intended semantics. +AI12-0042 adds rules for type invariants. +Specifically, when inheriting a private dispatching operation when the ancestor operation is visible at the point of the type extension, the operation must be abstract or else overridden. In addition, for a class-wide view conversion from an object of a specific type T to which a type invariant applies, an invariant check is performed when the conversion is within the immediate scope of T. -RM References: A.10.05 (37) A.10.07 (8/1) A.10.07 (10) A.10.07 (12) A.10.08 (10) A.10.08 (24) +RM references: 7.03.02 (6/3) 7.03.02 (17/3) 7.03.02 (18/3) 7.03.02 (19/3) +7.03.02 (20/3) @end itemize -@geindex AI-0039 (Ada 2012 feature) +@geindex AI12-0043 (Ada 2022 feature) @itemize * @item -`AI-0039 Stream attributes cannot be dynamic (0000-00-00)' +`AI12-0043 Details of the storage pool used when Storage_Size is specified (0000-00-00)' -The RM permitted the use of dynamic expressions (such as @code{ptr.all}) -for stream attributes, but these were never useful and are now illegal. GNAT -has always regarded such expressions as illegal. +Clarify that a Storage_Size specification for an access type specifies both an upper bound and a lower bound (not just a lower bound) of the amount of storage allowed for allocated objects. -RM References: 13.03 (4) 13.03 (6) 13.13.02 (38/2) +RM references: 13.11 (18) @end itemize -@geindex AI-0040 (Ada 2012 feature) +@geindex AI12-0044 (Ada 2022 feature) @itemize * @item -`AI-0040 Limited with clauses on descendant (0000-00-00)' +`AI12-0044 Calling visible functions from type invariant expressions (2020-05-11)' + +AI05-0289-1 extends invariant checking to @cite{in} parameters. However, this makes +it impossible to call a public function of the type from an invariant +expression, as that public function will attempt to check the invariant, +resulting in an infinite recursion. -This AI confirms that a limited with clause in a child unit cannot name -an ancestor of the unit. This has always been checked in GNAT. +This AI specifies, that type-invariant checking is performed on parameters +of mode @cite{in} upon return from procedure calls, but not of @cite{in}-mode +parameters in functions. -RM References: 10.01.02 (20/2) +RM references: 7.03.02 (19/3) @end itemize -@geindex AI-0042 (Ada 2012 feature) +@geindex AI12-0045 (Ada 2022 feature) @itemize * @item -`AI-0042 Overriding versus implemented-by (0000-00-00)' +`AI12-0045 Pre- and Postconditions are allowed on generic subprograms (2015-03-17)' -This AI fixes a wording gap in the RM. An operation of a synchronized -interface can be implemented by a protected or task entry, but the abstract -operation is not being overridden in the usual sense, and it must be stated -separately that this implementation is legal. This has always been the case -in GNAT. +The SPARK toolset now supports contracts on generic subprograms, packages and +their respective bodies. -RM References: 9.01 (9.2/2) 9.04 (11.1/2) +RM references: 6.01.01 (1/3) @end itemize -@geindex AI-0043 (Ada 2012 feature) +@geindex AI12-0046 (Ada 2022 feature) @itemize * @item -`AI-0043 Rules about raising exceptions (0000-00-00)' +`AI12-0046 Enforcing legality for anonymous access components in record aggregates (0000-00-00)' + +For a record aggregate of the form (X | Y => ….), any relevant legality rules are checked for both for X and Y. + +For example, -This AI covers various omissions in the RM regarding the raising of -exceptions. GNAT has always implemented the intended semantics. +@example +X : aliased constant String := ... ; +type R is record + F1 : access constant String; + F2 : access String; +end record; +Obj : R := (F1 | F2 => X'Access); -- ok for F1, but illegal for F2 +@end example -RM References: 11.04.01 (10.1/2) 11 (2) +RM references: 4.03.01 (16/3) @end itemize -@geindex AI-0044 (Ada 2012 feature) +@geindex AI12-0047 (Ada 2022 feature) @itemize * @item -`AI-0044 Restrictions on container instantiations (0000-00-00)' +`AI12-0047 Generalized iterators and discriminant-dependent components (0000-00-00)' -This AI places restrictions on allowed instantiations of generic containers. -These restrictions are not checked by the compiler, so there is nothing to -change in the implementation. This affects only the RM documentation. +Iterating over the elements of an array is subject to the same legality checks as renaming the array. For example, if an assignment to an enclosing discriminated object could cause an array object to cease to exist then we don’t allow renaming the array. So it is similarly not allowed to iterate over the elements of such an array. -RM References: A.18 (4/2) A.18.02 (231/2) A.18.03 (145/2) A.18.06 (56/2) A.18.08 (66/2) A.18.09 (79/2) A.18.26 (5/2) A.18.26 (9/2) +RM references: 5.05.02 (6/3) @end itemize -@geindex AI-0046 (Ada 2012 feature) +@geindex AI12-0048 (Ada 2022 feature) @itemize * @item -`AI-0046 Null exclusion match for full conformance (2010-07-17)' +`AI12-0048 Default behavior of tasks on a multiprocessor with a specified dispatching policy (0000-00-00)' -For full conformance, in the case of access parameters, the null exclusion -must match (either both or neither must have @code{not null}). +Clarify that if the user does not impose requirements about what CPUs a given task might execute on, then the implementation does not get to impose such requirements. This avoids potential problems with priority inversion. -RM References: 6.03.02 (18) +RM references: D.16.01 (30/3) @end itemize -@geindex AI-0050 (Ada 2012 feature) +@geindex AI12-0049 (Ada 2022 feature) @itemize * @item -`AI-0050 Raising Constraint_Error early for function call (0000-00-00)' +`AI12-0049 Invariants need to be checked on the initialization of deferred constants (0000-00-00)' -The implementation permissions for raising @code{Constraint_Error} early on a function call -when it was clear an exception would be raised were over-permissive and allowed -mishandling of discriminants in some cases. GNAT did -not take advantage of these incorrect permissions in any case. +Invariant checking for deferred constants (and subcomponents thereof) is performed. Corrects a clear oversight in the previous RM wording. -RM References: 6.05 (24/2) +RM references: 7.03.02 (10/3) @end itemize -@geindex AI-0056 (Ada 2012 feature) +@geindex AI12-0050 (Ada 2022 feature) @itemize * @item -`AI-0056 Index on null string returns zero (0000-00-00)' +`AI12-0050 Conformance of quantified expressions (2016-07-22)' -The wording in the Ada 2005 RM implied an incompatible handling of the -@code{Index} functions, resulting in raising an exception instead of -returning zero in some situations. -This was not intended and has been corrected. -GNAT always returned zero, and is thus consistent with this AI. +Compiler rejects a subprogram body when an expression for a boolean formal +parameter includes a quantified expression, and the subprogram declaration +contains a textual copy of the same. -RM References: A.04.03 (56.2/2) A.04.03 (58.5/2) +RM references: 6.03.01 (20) 6.03.01 (21) @end itemize -@geindex AI-0058 (Ada 2012 feature) +@geindex AI12-0051 (Ada 2022 feature) @itemize * @item -`AI-0058 Abnormal completion of an extended return (0000-00-00)' +`AI12-0051 The Priority aspect can be specified when Attach_Handler is specified (0000-00-00)' -The RM had some incorrect wording implying wrong treatment of abnormal -completion in an extended return. GNAT has always implemented the intended -correct semantics as described by this AI. +Previous RM wording had two contradictory rules for determining (in some cases) the priority of a protected subprogram that is attached to an interrupt. The AI clarifies which one of the rules takes precedence. -RM References: 6.05 (22/2) +RM references: D.03 (10/3) @end itemize -@geindex AI-0060 (Ada 2012 feature) +@geindex AI12-0052 (Ada 2022 feature) @itemize * @item -`AI-0060 Extended definition of remote access types (0000-00-00)' +`AI12-0052 Implicit objects are considered overlapping (0000-00-00)' -This AI extends the definition of remote access types to include access -to limited, synchronized, protected or task class-wide interface types. -GNAT already implemented this extension. +Clarify that the rules about unsynchronized concurrent access apply as one would expect in the case of predefined routines that access Text_IO’s default input and default output files. There was no compiler changes needed to implement this. -RM References: A (4) E.02.02 (9/1) E.02.02 (9.2/1) E.02.02 (14/2) E.02.02 (18) +RM references: A (3/2) A.10.03 (21) @end itemize -@geindex AI-0062 (Ada 2012 feature) +@geindex AI12-0054-2 (Ada 2022 feature) @itemize * @item -`AI-0062 Null exclusions and deferred constants (0000-00-00)' +`AI12-0054-2 Aspect Predicate_Failure (0000-00-00)' -A full constant may have a null exclusion even if its associated deferred -constant does not. GNAT has always allowed this. +New aspect Predicate_Failure is defined. A solution for the problem that a predicate like -RM References: 7.04 (6/2) 7.04 (7.1/2) +@example +subtype Open_File is File with Dynamic_Predicate =\> Is_Open (Open_File) or else (raise File_Not_Open); +@end example + +does the wrong thing in the case of a membership test. + +RM references: 3.02.04 (14/3) 3.02.04 (31/3) 3.02.04 (35/3) @end itemize -@geindex AI-0064 (Ada 2012 feature) +@geindex AI12-0055 (Ada 2022 feature) @itemize * @item -`AI-0064 Redundant finalization rule (0000-00-00)' +`AI12-0055 All properties of a usage profile are defined by pragmas (2020-06-09)' -This is an editorial change only. The intended behavior is already checked -by an existing ACATS test, which GNAT has always executed correctly. +AI12-0055 allows the use of the No_Dynamic_CPU_Assignment restriction in pragmas Restrictions and Restrictions_Warnings. -RM References: 7.06.01 (17.1/1) +RM references: D.07 (10/3) D.13 (6/3) D.13 (8/3) D.13 (10/3) @end itemize -@geindex AI-0065 (Ada 2012 feature) +@geindex AI12-0059 (Ada 2022 feature) @itemize * @item -`AI-0065 Remote access types and external streaming (0000-00-00)' +`AI12-0059 Object_Size attribute (2019-12-02)' -This AI clarifies the fact that all remote access types support external -streaming. This fixes an obvious oversight in the definition of the -language, and GNAT always implemented the intended correct rules. +AI12-0059 brings GNAT-defined attribute Object_Size to Ada standard +and clarifies its semantics. Given that the attribute already existed in +GNAT compiler, the feature is supported for all language versions. -RM References: 13.13.02 (52/2) +RM references: 4.09.01 (2/3) 13.01 (14) 13.01 (23) 13.03 (9/3) 13.03 +(50/2) 13.03 (51) 13.03 (52) 13.03 (58) @end itemize -@geindex AI-0070 (Ada 2012 feature) +@geindex AI12-0061 (Ada 2022 feature) @itemize * @item -`AI-0070 Elaboration of interface types (0000-00-00)' +`AI12-0061 Iterated component associations in array aggregates (2016-09-01)' -This is an editorial change only, there are no testable consequences short of -checking for the absence of generated code for an interface declaration. +Ada issue AI12-061 introduces a new construct in array aggregates allowing +component associations to be parameterized by a loop variable, for example: -RM References: 3.09.04 (18/2) +@example +Array (1 .. 10) of Integer := + (for I in 1 .. 10 => I ** 2); +type Matrix is +array + (Positive range <>, Positive range <>) of Float; +G : constant Matrix +:= + (for I in 1 .. 4 => + (for J in 1 .. 4 => + (if I=J then +1.0 else 0.0))); -- Identity matrix +@end example + +The expression in such an association can also be a function that returns a +limited type, and the range can be specified by the ‘others’ choice. + +RM references: 4.03.03 (5/2) 4.03.03 (6) 4.03.03 (17/3) 4.03.03 (20) +4.03.03 (23.1/4) 4.03.03 (32/3) 4.03.03 (43) 3.01 (6/3) 3.03 (6) +3.03 (18.1/3) 3.03.01 (23/3) 5.05 (6) 8.01 (2.1/4) @end itemize -@geindex AI-0072 (Ada 2012 feature) +@geindex AI12-0062 (Ada 2022 feature) @itemize * @item -`AI-0072 Task signalling using ‘Terminated (0000-00-00)' +`AI12-0062 Raise exception with failing string function (0000-00-00)' -This AI clarifies that task signalling for reading @code{'Terminated} only -occurs if the result is True. GNAT semantics has always been consistent with -this notion of task signalling. +Clarify that if raising exception E1 is accompanied with a String-valued +expression whose evaluation raises exception E2, then E2 is what gets propagated. -RM References: 9.10 (6.1/1) +RM references: 11.03 (4/2) @end itemize -@geindex AI-0073 (Ada 2012 feature) +@geindex AI12-0065 (Ada 2022 feature) @itemize * @item -`AI-0073 Functions returning abstract types (2010-07-10)' +`AI12-0065 Descendants of incomplete views (0000-00-00)' -This AI covers a number of issues regarding returning abstract types. In -particular generic functions cannot have abstract result types or access -result types designated an abstract type. There are some other cases which -are detailed in the AI. Note that this binding interpretation has not been -retrofitted to operate before Ada 2012 mode, since it caused a significant -number of regressions. +This AI is a clarification of potentially confusing wording. GNAT correctly handles the example given in AARM 7.3.1(5.b-5.d), which illustrates the topic of this AI. -RM References: 3.09.03 (8) 3.09.03 (10) 6.05 (8/2) +RM references: 7.03.01 (5.2/3) @end itemize -@geindex AI-0076 (Ada 2012 feature) +@geindex AI12-0067 (Ada 2022 feature) @itemize * @item -`AI-0076 function with controlling result (0000-00-00)' +`AI12-0067 Accessibility level of explicitly aliased parameters of procedures and entries (0000-00-00)' -This is an editorial change only. The RM defines calls with controlling -results, but uses the term ‘function with controlling result’ without an -explicit definition. +The AI fixes a case where the intent was fairly obvious but the RM wording failed to mention a case (with the result that the accessibility level of an explicitly aliased parameter of a procedure or entry was undefined even though the intent was clear). -RM References: 3.09.02 (2/2) +RM references: 3.10.02 (7/3) @end itemize -@geindex AI-0077 (Ada 2012 feature) +@geindex AI12-0068 (Ada 2022 feature) @itemize * @item -`AI-0077 Limited withs and scope of declarations (0000-00-00)' +`AI12-0068 Predicates and the current instance of a subtype (2020-05-06)' -This AI clarifies that a declaration does not include a context clause, -and confirms that it is illegal to have a context in which both a limited -and a nonlimited view of a package are accessible. Such double visibility -was always rejected by GNAT. +AI12-0068 is a binding interpretation that defines the current instance name in a type or subtype aspect to be a value rather than an object. This affects +attributes whose prefix is a current instance in predicates, type invariants, and @code{Default_Initial_Condition} aspects. In particular, in the case of the @code{Constrained} attribute the value will always be True, and formerly legal attributes that require an object as their prefix (such as @code{Size}, @code{Access}, @code{Address}, etc.) are illegal when applied to a current instance in type and subtype aspects. -RM References: 10.01.02 (12/2) 10.01.02 (21/2) 10.01.02 (22/2) +RM references: 8.06 (17/3) @end itemize -@geindex AI-0078 (Ada 2012 feature) +@geindex AI12-0069 (Ada 2022 feature) @itemize * @item -`AI-0078 Relax Unchecked_Conversion alignment rules (0000-00-00)' +`AI12-0069 Inconsistency in Tree container definition (0000-00-00)' -In Ada 2012, compilers are required to support unchecked conversion where the -target alignment is a multiple of the source alignment. GNAT always supported -this case (and indeed all cases of differing alignments, doing copies where -required if the alignment was reduced). +The description of how iteration over a Tree container’s elements was contradictory in some cases regarding whether a cursor designating the Root node is included in the iteration. This contradiction was resolved. In the “!ACATS Test” section of the AI, it says that if an implementation were to get this wrong then almost any attempt to iterate over any tree would fail at runtime. -RM References: 13.09 (7) +RM references: A.18.10 (153/3) A.18.10 (155/3) A.18.10 (157/3) A.18.10 (159/3) @end itemize -@geindex AI-0079 (Ada 2012 feature) +@geindex AI12-0070 (Ada 2022 feature) @itemize * @item -`AI-0079 Allow other_format characters in source (2010-07-10)' +`AI12-0070 9.3(2) does not work for anonymous access types (0000-00-00)' -Wide characters in the unicode category `other_format' are now allowed in -source programs between tokens, but not within a token such as an identifier. +The RM contained some old wording about the master of an allocated object that only made sense for named access types. The AI clarifies the wording to clearly state the scope of validity and ensures that the paragraph does not contradict 3.10.2’s rules for anonymous access types. -RM References: 2.01 (4/2) 2.02 (7) +RM references: 3.10.02 (13.1/3) 9.03 (2) @end itemize -@geindex AI-0080 (Ada 2012 feature) +@geindex AI12-0071 (Ada 2022 feature) @itemize * @item -`AI-0080 ‘View of’ not needed if clear from context (0000-00-00)' +`AI12-0071 Order of evaluation when multiple predicates apply (2015-08-10)' -This is an editorial change only, described as non-testable in the AI. +AI12-0071 specifies the semantics of multiple/inherited predicates on a +single subtype. -RM References: 3.01 (7) +RM references: 3.02.04 (4/3) 3.02.04 (6/3) 3.02.04 (30/3) 3.02.04 (31/3) +3.02.04 (32/3) 3.02.04 (33/3) 3.02.04 (35/3) 3.05.05 (7.1/3) +3.05.05 (7.2/3) 3.05.05 (7.3/3) 3.08.01 (10.1/3) 3.08.01 (15/3) +4.05.02 (29/3) 4.05.02 (30/3) 4.06 (51/3) 4.09.01 (10/3) 5.04 +(7/3) 5.05 (9/3) 13.09.02 (3/3) 13.09.02 (12) @end itemize -@geindex AI-0087 (Ada 2012 feature) +@geindex AI12-0072 (Ada 2022 feature) @itemize * @item -`AI-0087 Actual for formal nonlimited derived type (2010-07-15)' +`AI12-0072 Missing rules for Discard_Names aspect (0000-00-00)' -The actual for a formal nonlimited derived type cannot be limited. In -particular, a formal derived type that extends a limited interface but which -is not explicitly limited cannot be instantiated with a limited type. +Clarify that Discard_Names is an aspect, not just a pragma. -RM References: 7.05 (5/2) 12.05.01 (5.1/2) +RM references: C.05 (1) C.05 (5) C.05 (7/2) C.05 (8) @end itemize -@geindex AI-0088 (Ada 2012 feature) +@geindex AI12-0073 (Ada 2022 feature) @itemize * @item -`AI-0088 The value of exponentiation (0000-00-00)' +`AI12-0073 Synchronous Barriers are not allowed with Ravenscar (2020-02-24)' -This AI clarifies the equivalence rule given for the dynamic semantics of -exponentiation: the value of the operation can be obtained by repeated -multiplication, but the operation can be implemented otherwise (for example -using the familiar divide-by-two-and-square algorithm, even if this is less -accurate), and does not imply repeated reads of a volatile base. +Ada 2022 adds (as a binding interpretation) a @code{No_Dependence => +Ada.Synchronous_Barriers} restriction to the Ravenscar profile. -RM References: 4.05.06 (11) +RM references: D.13 (6/3) @end itemize -@geindex AI-0091 (Ada 2012 feature) +@geindex AI12-0074 (Ada 2022 feature) @itemize * @item -`AI-0091 Do not allow other_format in identifiers (0000-00-00)' +`AI12-0074 View conversions and out parameters passed by copy (2020-03-26)' -Wide characters in the unicode category `other_format' are not permitted -within an identifier, since this can be a security problem. The error -message for this case has been improved to be more specific, but GNAT has -never allowed such characters to appear in identifiers. +This Ada 2022 AI makes illegal some cases of out parameters whose type has a +@code{Default_Value} aspect. -RM References: 2.03 (3.1/2) 2.03 (4/2) 2.03 (5/2) 2.03 (5.1/2) 2.03 (5.2/2) 2.03 (5.3/2) 2.09 (2/2) +RM references: 4.06 (56) 6.04.01 (6.25/3) 6.04.01 (13.1/3) @end itemize -@geindex AI-0093 (Ada 2012 feature) +@geindex AI12-0075 (Ada 2022 feature) @itemize * @item -`AI-0093 Additional rules use immutably limited (0000-00-00)' +`AI12-0075 Static expression functions (2020-04-13)' -This is an editorial change only, to make more widespread use of the Ada 2012 -‘immutably limited’. +Ada 2022 defines a new aspect @code{Static} that can be specified on expression +functions. Such an expression function can be called in contexts requiring static expressions when the actual parameters are all static, allowing for greater abstraction in complex static expressions. -RM References: 3.03 (23.4/3) +RM references: 4.09 (21) 6.08 (3/4) 6.08 (5/4) 6.08 (6/4) 7.03.02 (8.2/5) +7.03.02 (15/4) 7.03.02 (16/4) 7.03.02 (17/4) 7.03.02 (19/4) +7.03.02 (20/5) @end itemize -@geindex AI-0095 (Ada 2012 feature) +@geindex AI12-0076 (Ada 2022 feature) @itemize * @item -`AI-0095 Address of intrinsic subprograms (0000-00-00)' +`AI12-0076 Variable state in pure packages (0000-00-00)' -The prefix of @code{'Address} cannot statically denote a subprogram with -convention @code{Intrinsic}. The use of the @code{Address} attribute raises -@code{Program_Error} if the prefix denotes a subprogram with convention -@code{Intrinsic}. +Defines an obscure constant-modifying construct to be erroneous. The issue is that the current instance of a type is a variable object, so the following is legal: -RM References: 13.03 (11/1) +@example + type T; + type T_Ref (Access_To_Variable : access T) is null record; + type T is limited record + Self : T_Ref (T'Access); + Int : Integer; + end record; + + Obj : constant T := (Self => <>, Int => 123); +begin + Obj.Self.Access_To_Variable.Int := 456; -- modifying a component of a constant +@end example + +In cases where constancy is really needed (e.g., for an object declared in a Pure context), such a case needs to be erroneous. + +RM references: 10.02.01 (17/3) E.02.02 (17/2) @end itemize -@geindex AI-0096 (Ada 2012 feature) +@geindex AI12-0077 (Ada 2022 feature) @itemize * @item -`AI-0096 Deriving from formal private types (2010-07-20)' +`AI12-0077 Has_Same_Storage on objects of size zero (2020-03-30)' -In general it is illegal for a type derived from a formal limited type to be -nonlimited. This AI makes an exception to this rule: derivation is legal -if it appears in the private part of the generic, and the formal type is not -tagged. If the type is tagged, the legality check must be applied to the -private part of the package. +This binding interpretation requires the Has_Same_Storage attribute +to return always @cite{false} for objects that have a size of zero. -RM References: 3.04 (5.1/2) 6.02 (7) +RM references: 13.03 (73.4/3) @end itemize -@geindex AI-0097 (Ada 2012 feature) +@geindex AI12-0078 (Ada 2022 feature) @itemize * @item -`AI-0097 Treatment of abstract null extension (2010-07-19)' +`AI12-0078 Definition of node for tree container is confusing (0000-00-00)' -The RM as written implied that in some cases it was possible to create an -object of an abstract type, by having an abstract extension inherit a non- -abstract constructor from its parent type. This mistake has been corrected -in GNAT and in the RM, and this construct is now illegal. +Clarifies the expected behavior in processing tree containers. -RM References: 3.09.03 (4/2) +RM references: A.18.10 (2/3) A.18.10 (3/3) @end itemize -@geindex AI-0098 (Ada 2012 feature) +@geindex AI12-0081 (Ada 2022 feature) @itemize * @item -`AI-0098 Anonymous subprogram access restrictions (0000-00-00)' +`AI12-0081 Real-time aspects need to specify when they are evaluated (0000-00-00)' -An unintentional omission in the RM implied some inconsistent restrictions on -the use of anonymous access to subprogram values. These restrictions were not -intentional, and have never been enforced by GNAT. +Clarify the point at which Priority and Interrupt_Priority aspect expressions are evaluated. -RM References: 3.10.01 (6) 3.10.01 (9.2/2) +RM references: D.01 (17/3) D.16 (9/3) @end itemize -@geindex AI-0099 (Ada 2012 feature) +@geindex AI12-0084 (Ada 2022 feature) @itemize * @item -`AI-0099 Tag determines whether finalization needed (0000-00-00)' +`AI12-0084 Box expressions in array aggregates (2014-12-15)' -This AI clarifies that ‘needs finalization’ is part of dynamic semantics, -and therefore depends on the run-time characteristics of an object (i.e. its -tag) and not on its nominal type. As the AI indicates: “we do not expect -this to affect any implementation”. +This AI addresses an issue where compiler used to fail to initialize +components of a multidimensional aggregates with box initialization when +scalar components have a specified default value. The AI clarifies that +in an array aggregate with box (i.e., @code{<>}) component values, the +@code{Default_Component_Value} of the array type (if any) should not be ignored. -RM References: 7.06.01 (6) 7.06.01 (7) 7.06.01 (8) 7.06.01 (9/2) +RM references: 4.03.03 (23.1/2) @end itemize -@geindex AI-0100 (Ada 2012 feature) +@geindex AI12-0085 (Ada 2022 feature) @itemize * @item -`AI-0100 Placement of pragmas (2010-07-01)' +`AI12-0085 Missing aspect cases for Remote_Types (0000-00-00)' -This AI is an earlier version of AI-163. It simplifies the rules -for legal placement of pragmas. In the case of lists that allow pragmas, if -the list may have no elements, then the list may consist solely of pragmas. +A distributed systems annex (Annex E) clarification. Aspect specifications +that are forbidden using attribute definition clause syntax are also forbidden +using aspect_specification syntax. -RM References: 2.08 (7) +RM references: E.02.02 (17/2) @end itemize -@geindex AI-0102 (Ada 2012 feature) +@geindex AI12-0086 (Ada 2022 feature) @itemize * @item -`AI-0102 Some implicit conversions are illegal (0000-00-00)' +`AI12-0086 Aggregates and variant parts (2019-08-14)' -It is illegal to assign an anonymous access constant to an anonymous access -variable. The RM did not have a clear rule to prevent this, but GNAT has -always generated an error for this usage. +In Ada 2012, a discriminant value that governs an active variant part in an +aggregate had to be static. AI12-0086 relaxes this restriction: If the subtype of the discriminant value is a static subtype all of whose values select the same variant, then the expression for the discriminant is allowed to be nonstatic. -RM References: 3.07 (16) 3.07.01 (9) 6.04.01 (6) 8.06 (27/2) +RM references: 4.03.01 (17/3) 4.03.01 (19/3) @end itemize -@geindex AI-0103 (Ada 2012 feature) +@geindex AI12-0088 (Ada 2022 feature) @itemize * @item -`AI-0103 Static matching for extended return (2010-07-23)' +`AI12-0088 UTF_Encoding.Conversions and overlong characters on input (0000-00-00)' -If the return subtype of a function is an elementary type or a constrained -type, the subtype indication in an extended return statement must match -statically this return subtype. +Clarify that overlong characters are acceptable on input even if we never generate them as output. -RM References: 6.05 (5.2/2) +RM references: A.04.11 (54/3) A.04.11 (55/3) @end itemize -@geindex AI-0104 (Ada 2012 feature) +@geindex AI12-0089 (Ada 2022 feature) @itemize * @item -`AI-0104 Null exclusion and uninitialized allocator (2010-07-15)' +`AI12-0089 Accessibility rules need to take into account that a generic function is not a (0000-00-00)' -The assignment @code{Ptr := new not null Some_Ptr;} will raise -@code{Constraint_Error} because the default value of the allocated object is -`null'. This useless construct is illegal in Ada 2012. +Fix cases in RM wording where the accessibility rules for a function failed to take into account the fact that a generic function is not a function. For example, a generic function with an explicitly aliased parameter should be able to return references to that parameter in the same ways that a (non-generic) function can. The previous wording did not allow that. -RM References: 4.08 (2) +RM references: 3.10.02 (7/3) 3.10.02 (19.2/3) 3.10.02 (19.3/3) 6.05 (4/3) @end itemize -@geindex AI-0106 (Ada 2012 feature) +@geindex AI12-0093 (Ada 2022 feature) @itemize * @item -`AI-0106 No representation pragmas on generic formals (0000-00-00)' +`AI12-0093 Iterator with indefinite cursor (0000-00-00)' -The RM appeared to allow representation pragmas on generic formal parameters, -but this was not intended, and GNAT has never permitted this usage. +A clarification that confirms what GNAT is already doing. -RM References: 13.01 (9.1/1) +RM references: 5.05.02 (8/3) 5.05.02 (10/3) @end itemize -@geindex AI-0108 (Ada 2012 feature) +@geindex AI12-0094 (Ada 2022 feature) @itemize * @item -`AI-0108 Limited incomplete view and discriminants (0000-00-00)' +`AI12-0094 An access_definition should be a declarative region (0000-00-00)' -This AI confirms that an incomplete type from a limited view does not have -discriminants. This has always been the case in GNAT. +Fixes wording omission in the RM, confirming that the behaviour of GNAT is +correct. -RM References: 10.01.01 (12.3/2) +RM references: 8.03 (2) 8.03 (26/3) @end itemize -@geindex AI-0109 (Ada 2012 feature) +@geindex AI12-0095 (Ada 2022 feature) @itemize * @item -`AI-0109 Redundant check in S’Class’Input (0000-00-00)' +`AI12-0095 Generic formal types and constrained partial views (0000-00-00)' -This AI is an editorial change only. It removes the need for a tag check -that can never fail. +Deciding whether an actual parameter corresponding to an explicitly aliased formal parameter is legal depends on (among other things) whether the parameter type has a constrained partial view. The AI clarifies how this compile-time checking works in the case of a generic formal type (assume the best in the spec and recheck each instance, assume the worst in a generic body). -RM References: 13.13.02 (34/2) +RM references: 3.10.02 (27.2/3) 4.06 (24.16/2) 6.04.01 (6.2/3) 12.05.01 (15) @end itemize -@geindex AI-0112 (Ada 2012 feature) +@geindex AI12-0096 (Ada 2022 feature) @itemize * @item -`AI-0112 Detection of duplicate pragmas (2010-07-24)' +`AI12-0096 The exception raised when a subtype conversion fails a predicate check (0000-00-00)' -This AI concerns giving names to various representation aspects, but the -practical effect is simply to make the use of duplicate -@code{Atomic[_Components]}, -@code{Volatile[_Components]}, and -@code{Independent[_Components]} pragmas illegal, and GNAT -now performs this required check. +Clarify that the Predicate_Failure aspect works the same in a subtype conversion as in any other context. -RM References: 13.01 (8) +RM references: 4.06 (57/3) @end itemize -@geindex AI-0114 (Ada 2012 feature) +@geindex AI12-0097 (Ada 2022 feature) @itemize * @item -`AI-0114 Classification of letters (0000-00-00)' +`AI12-0097 Tag of the return object of a simple return expression (0000-00-00)' -The code points 170 (@code{FEMININE ORDINAL INDICATOR}), -181 (@code{MICRO SIGN}), and -186 (@code{MASCULINE ORDINAL INDICATOR}) are technically considered -lower case letters by Unicode. -However, they are not allowed in identifiers, and they -return @code{False} to @code{Ada.Characters.Handling.Is_Letter/Is_Lower}. -This behavior is consistent with that defined in Ada 95. +Clarify wording about the tag of a function result in the case of a simple (i.e. not extended) return statement in a function with a class-wide result type. -RM References: A.03.02 (59) A.04.06 (7) +RM references: 6.05 (8/3) @end itemize -@geindex AI-0116 (Ada 2012 feature) +@geindex AI12-0098 (Ada 2022 feature) @itemize * @item -`AI-0116 Alignment of class-wide objects (0000-00-00)' +`AI12-0098 Problematic examples for ATC (0000-00-00)' -This AI requires that the alignment of a class-wide object be no greater -than the alignment of any type in the class. GNAT has always followed this -recommendation. +The AI clarifies reference manual examples, there is no compiler impact. -RM References: 13.03 (29) 13.11 (16) +RM references: 9.07.04 (13) @end itemize -@geindex AI-0118 (Ada 2012 feature) +@geindex AI12-0099 (Ada 2022 feature) @itemize * @item -`AI-0118 The association of parameter associations (0000-00-00)' +`AI12-0099 Wording problems with predicates (2020-05-04)' -This AI clarifies the rules for named associations in subprogram calls and -generic instantiations. The rules have been in place since Ada 83. +When extending a task or protected type from an ancestor interface subtype with a predicate, a link error can occur due to the compiler failing to generate the predicate-checking function. This AI clarifies the requirement for such predicate inheritance for concurrent types. -RM References: 6.04.01 (2) 12.03 (9) +RM references: 3.02.04 (4/4) 3.02.04 (12/3) 3.02.04 (20/3) @end itemize -@geindex AI-0120 (Ada 2012 feature) +@geindex AI12-0100 (Ada 2022 feature) @itemize * @item -`AI-0120 Constant instance of protected object (0000-00-00)' +`AI12-0100 A qualified expression makes a predicate check (2020-02-17)' -This is an RM editorial change only. The section that lists objects that are -constant failed to include the current instance of a protected object -within a protected function. This has always been treated as a constant -in GNAT. +The compiler now enforces predicate checks on qualified expressions when the +qualifying subtype imposes a predicate. -RM References: 3.03 (21) +RM references: 4.07 (4) @end itemize -@geindex AI-0122 (Ada 2012 feature) +@geindex AI12-0101 (Ada 2022 feature) @itemize * @item -`AI-0122 Private with and children of generics (0000-00-00)' +`AI12-0101 Incompatibility of hidden untagged record equality (2019-10-31)' + +AI12-0101 is a binding interpretation that removes a legality rule that +prohibited the declaration of a primitive equality function for a private type in the private part of its enclosing package (either before or after the completion of the type) when the type is completed as an untagged record type. Such declarations are now accepted in Ada 2012 and later Ada versions. -This AI clarifies the visibility of private children of generic units within -instantiations of a parent. GNAT has always handled this correctly. +As a consequence of this work, some cases where the implementation of AI05-0123 was incomplete were corrected. +More specifically, if a user-defined equality operator is present for an untagged record type in an Ada 2012 program, that user-defined equality operator will be (correctly) executed in some difficult-to-characterize cases where the predefined component-by-component comparison was previously being (incorrectly) executed. This can arise, for example, in the case of the predefined equality operation for an enclosing composite type that has a component of the user-defined primitive equality op’s operand type. +This correction means that the impact of this change is not limited solely to code that was previously rejected at compile time. -RM References: 10.01.02 (12/2) +RM references: 4.05.02 (9.8/3) @end itemize -@geindex AI-0123 (Ada 2012 feature) +@geindex AI12-0102 (Ada 2022 feature) @itemize * @item -`AI-0123 Composability of equality (2010-04-13)' +`AI12-0102 Stream_IO.File_Type has Preelaborable_Initialization (0000-00-00)' + +Modifies the declaration of one type in a predefined package. GNAT’s version of @code{Ada.Streams.Stream_IO} already had this modification (the @code{Preelaborable__Initialization} pragma). + +RM references: A.12.01 (5) +@end itemize -Equality of untagged record composes, so that the predefined equality for a -composite type that includes a component of some untagged record type -@code{R} uses the equality operation of @code{R} (which may be user-defined -or predefined). This makes the behavior of untagged records identical to that -of tagged types in this respect. +@geindex AI12-0103 (Ada 2022 feature) -This change is an incompatibility with previous versions of Ada, but it -corrects a non-uniformity that was often a source of confusion. Analysis of -a large number of industrial programs indicates that in those rare cases -where a composite type had an untagged record component with a user-defined -equality, either there was no use of the composite equality, or else the code -expected the same composability as for tagged types, and thus had a bug that -would be fixed by this change. -RM References: 4.05.02 (9.7/2) 4.05.02 (14) 4.05.02 (15) 4.05.02 (24) -8.05.04 (8) +@itemize * + +@item +`AI12-0103 Expression functions that are completions in package specifications (0000-00-00)' + +Clarifies that expression functions that are completions do not cause “general” freeze-everybody-in-sight freezing like a subprogram body. + +RM references: 13.14 (3/3) 13.14 (5/3) @end itemize -@geindex AI-0125 (Ada 2012 feature) +@geindex AI12-0104 (Ada 2022 feature) @itemize * @item -`AI-0125 Nonoverridable operations of an ancestor (2010-09-28)' +`AI12-0104 Overriding an aspect is undefined (0000-00-00)' -In Ada 2012, the declaration of a primitive operation of a type extension -or private extension can also override an inherited primitive that is not -visible at the point of this declaration. +A clarification of the wording in RM, no compiler impact. -RM References: 7.03.01 (6) 8.03 (23) 8.03.01 (5/2) 8.03.01 (6/2) +RM references: 4.01.06 (4/3) 4.01.06 (17/3) @end itemize -@geindex AI-0126 (Ada 2012 feature) +@geindex AI12-0105 (Ada 2022 feature) @itemize * @item -`AI-0126 Dispatching with no declared operation (0000-00-00)' +`AI12-0105 Pre and Post are not allowed on any subprogram completion (0000-00-00)' -This AI clarifies dispatching rules, and simply confirms that dispatching -executes the operation of the parent type when there is no explicitly or -implicitly declared operation for the descendant type. This has always been -the case in all versions of GNAT. +Language-defined aspects (e.g., @code{Post}) cannot be specified as part of the completion of a subprogram declaration. Fix a hole in the RM wording to clarify that this general rule applies even in the special cases where the completion is either an expression function or a null procedure. -RM References: 3.09.02 (20/2) 3.09.02 (20.1/2) 3.09.02 (20.2/2) +RM references: 13.01.01 (18/3) @end itemize -@geindex AI-0127 (Ada 2012 feature) +@geindex AI12-0106 (Ada 2022 feature) @itemize * @item -`AI-0127 Adding Locale Capabilities (2010-09-29)' +`AI12-0106 Write’Class aspect (0000-00-00)' -This package provides an interface for identifying the current locale. +Clarify that the syntax used in an ACATS test BDD2005 for specifying a class-wide streaming aspect is correct. -RM References: A.19 A.19.01 A.19.02 A.19.03 A.19.05 A.19.06 -A.19.07 A.19.08 A.19.09 A.19.10 A.19.11 A.19.12 A.19.13 +RM references: 13.01.01 (28/3) 13.13.02 (38/3) @end itemize -@geindex AI-0128 (Ada 2012 feature) +@geindex AI12-0107 (Ada 2022 feature) @itemize * @item -`AI-0128 Inequality is a primitive operation (0000-00-00)' +`AI12-0107 A prefixed view of a By_Protected_Procedure interface has convention protected (2020-06-05)' -If an equality operator (“=”) is declared for a type, then the implicitly -declared inequality operator (“/=”) is a primitive operation of the type. -This is the only reasonable interpretation, and is the one always implemented -by GNAT, but the RM was not entirely clear in making this point. +A prefixed view of a subprogram with aspect Synchronization set to +By_Protected_Procedure has convention protected. -RM References: 3.02.03 (6) 6.06 (6) +RM references: 6.03.01 (10.1/2) 6.03.01 (12) 6.03.01 (13) @end itemize -@geindex AI-0129 (Ada 2012 feature) +@geindex AI12-0109 (Ada 2022 feature) @itemize * @item -`AI-0129 Limited views and incomplete types (0000-00-00)' +`AI12-0109 Representation of untagged derived types (2019-11-12)' -This AI clarifies the description of limited views: a limited view of a -package includes only one view of a type that has an incomplete declaration -and a full declaration (there is no possible ambiguity in a client package). -This AI also fixes an omission: a nested package in the private part has no -limited view. GNAT always implemented this correctly. +Ada disallows a nonconforming specification of a type-related representation +aspect of an untagged by-reference type. The motivation for this rule is to ensure that a parent type and a later type derived from the parent agree with respect to such aspects. AI12-0109 disallows a construct that otherwise could be used to get around this rule: an aspect specification for the parent type that occurs after the declaration of the derived type. -RM References: 10.01.01 (12.2/2) 10.01.01 (12.3/2) +RM references: 13.01 (10/3) @end itemize -@geindex AI-0132 (Ada 2012 feature) +@geindex AI12-0110 (Ada 2022 feature) @itemize * @item -`AI-0132 Placement of library unit pragmas (0000-00-00)' +`AI12-0110 Tampering checks are performed first (2020-04-14)' -This AI fills a gap in the description of library unit pragmas. The pragma -clearly must apply to a library unit, even if it does not carry the name -of the enclosing unit. GNAT has always enforced the required check. +AI12-0110 requires tampering checks in the containers library to be +performed first, before any other checks. -RM References: 10.01.05 (7) +RM references: A.18.02 (97.1/3) A.18.03 (69.1/3) A.18.04 (15.1/3) A.18.07 +(14.1/3) A.18.10 (90/3) A.18.18 (35/3) @end itemize -@geindex AI-0134 (Ada 2012 feature) +@geindex AI12-0112 (Ada 2022 feature) @itemize * @item -`AI-0134 Profiles must match for full conformance (0000-00-00)' +`AI12-0112 Contracts for container operations (0000-00-00)' -For full conformance, the profiles of anonymous-access-to-subprogram -parameters must match. GNAT has always enforced this rule. +A representation change replacing english descriptions of contracts for +operations on predefined container types with pre/post-conditions. No compiler +impact. -RM References: 6.03.01 (18) +RM references: A.18.02 (99/3) 11.04.02 (23.1/3) 11.05 (23) 11.05 (26) A +(4) A.18 (10) @end itemize -@geindex AI-0137 (Ada 2012 feature) +@geindex AI12-0114 (Ada 2022 feature) @itemize * @item -`AI-0137 String encoding package (2010-03-25)' +`AI12-0114 Overlapping objects designated by access parameters are not thread-safe (0000-00-00)' -The packages @code{Ada.Strings.UTF_Encoding}, together with its child -packages, @code{Conversions}, @code{Strings}, @code{Wide_Strings}, -and @code{Wide_Wide_Strings} have been -implemented. These packages (whose documentation can be found in the spec -files @code{a-stuten.ads}, @code{a-suenco.ads}, @code{a-suenst.ads}, -@code{a-suewst.ads}, @code{a-suezst.ads}) allow encoding and decoding of -@code{String}, @code{Wide_String}, and @code{Wide_Wide_String} -values using UTF coding schemes (including UTF-8, UTF-16LE, UTF-16BE, and -UTF-16), as well as conversions between the different UTF encodings. With -the exception of @code{Wide_Wide_Strings}, these packages are available in -Ada 95 and Ada 2005 mode as well as Ada 2012 mode. -The @code{Wide_Wide_Strings} package -is available in Ada 2005 mode as well as Ada 2012 mode (but not in Ada 95 -mode since it uses @code{Wide_Wide_Character}). +There are rules saying that concurrent calls to predefined subprograms don’t interfere with each other unless actual parameters overlap. The AI clarifies that such an interference is also possible if overlapping objects are reachable via access dereferencing from actual parameters of the two calls. -RM References: A.04.11 +RM references: A (3/2) @end itemize -@geindex AI-0139-2 (Ada 2012 feature) +@geindex AI12-0116 (Ada 2022 feature) @itemize * @item -`AI-0139-2 Syntactic sugar for iterators (2010-09-29)' +`AI12-0116 Private types and predicates (0000-00-00)' -The new syntax for iterating over arrays and containers is now implemented. -Iteration over containers is for now limited to read-only iterators. Only -default iterators are supported, with the syntax: @code{for Elem of C}. +Clarify that the same aspect cannot be specified twice for the same type. @code{Dynamic_Predicate}, for example, can be specified on either the partial view of a type or on the completion in the private part, but not on both. -RM References: 5.05 +RM references: 13.01 (9/3) 13.01 (9.1/3) @end itemize -@geindex AI-0146 (Ada 2012 feature) +@geindex AI12-0117 (Ada 2022 feature) @itemize * @item -`AI-0146 Type invariants (2009-09-21)' +`AI12-0117 Restriction No_Tasks_Unassigned_To_CPU (2020-06-12)' -Type invariants may be specified for private types using the aspect notation. -Aspect @code{Type_Invariant} may be specified for any private type, -@code{Type_Invariant'Class} can -only be specified for tagged types, and is inherited by any descendent of the -tagged types. The invariant is a boolean expression that is tested for being -true in the following situations: conversions to the private type, object -declarations for the private type that are default initialized, and -[`in'] `out' -parameters and returned result on return from any primitive operation for -the type that is visible to a client. -GNAT defines the synonyms @code{Invariant} for @code{Type_Invariant} and -@code{Invariant'Class} for @code{Type_Invariant'Class}. +This AI adds a restriction No_Tasks_Unassigned_To_CPU to provide safe +use of Ravenscar. -RM References: 13.03.03 (00) +The CPU aspect is specified for the environment task. No CPU aspect is +specified to be statically equal to @code{Not_A_Specific_CPU}. If aspect CPU +is specified (dynamically) to the value @code{Not_A_Specific_CPU}, then +Program_Error is raised. If Set_CPU or @code{Delay_Until_And_Set_CPU} are called +with the CPU parameter equal to @code{Not_A_Specific_CPU}, then @code{Program_Error} is raised. + +RM references: D.07 (10.8/3) @end itemize -@geindex AI-0147 (Ada 2012 feature) +@geindex AI12-0120 (Ada 2022 feature) @itemize * @item -`AI-0147 Conditional expressions (2009-03-29)' +`AI12-0120 Legality and exceptions of generalized loop iteration (0000-00-00)' -Conditional expressions are permitted. The form of such an expression is: +Clarify that the expansion-based definition of generalized loop iteration +includes legality checking. If the expansion would be illegal (for example, +because of passing a constant actual parameter in a call when the mode of +the corresponding formal parameter is in-out), then the loop is illegal too. -@example -(if expr then expr @{elsif expr then expr@} [else expr]) -@end example +RM references: 5.05.02 (6.1/4) 5.05.02 (10/3) 5.05.02 (13/3) +@end itemize -The parentheses can be omitted in contexts where parentheses are present -anyway, such as subprogram arguments and pragma arguments. If the `else' -clause is omitted, `else' `True' is assumed; -thus @code{(if A then B)} is a way to conveniently represent -`(A implies B)' in standard logic. +@geindex AI12-0121 (Ada 2022 feature) -RM References: 4.03.03 (15) 4.04 (1) 4.04 (7) 4.05.07 (0) 4.07 (2) -4.07 (3) 4.09 (12) 4.09 (33) 5.03 (3) 5.03 (4) 7.05 (2.1/2) + +@itemize * + +@item +`AI12-0121 Stream-oriented aspects (0000-00-00)' + +Clarify that streaming-oriented aspects (e.g., Read) can be specified using +aspect_specification syntax, not just via an attribute definition clause. + +RM references: 13.13.02 (38/3) @end itemize -@geindex AI-0152 (Ada 2012 feature) +@geindex AI12-0124 (Ada 2022 feature) @itemize * @item -`AI-0152 Restriction No_Anonymous_Allocators (2010-09-08)' +`AI12-0124 Add Object’Image (2017-03-24)' -Restriction @code{No_Anonymous_Allocators} prevents the use of allocators -where the type of the returned value is an anonymous access type. +The corrigendum of Ada 2012 extends attribute @code{'Image following} the syntax for the GNAT @code{'Img} attribute. This AI fixes a gap in the earlier implementation, which did not recognize function calls and attributes that are functions as valid object prefixes. -RM References: H.04 (8/1) +RM references: 3.05 (55/3) @end itemize -@geindex AI-0157 (Ada 2012 feature) +@geindex AI12-0125-3 (Ada 2022 feature) @itemize * @item -`AI-0157 Allocation/Deallocation from empty pool (2010-07-11)' +`AI12-0125-3 Add @@ as an abbreviation for the LHS of an assignment (2016-11-11)' -Allocation and Deallocation from an empty storage pool (i.e. allocation or -deallocation of a pointer for which a static storage size clause of zero -has been given) is now illegal and is detected as such. GNAT -previously gave a warning but not an error. +This AI introduces the use of the character ‘@@’ as an abbreviation for the left-hand side of an assignment statement, usable anywhere within the expression on the right-hand side. To use this feature the compilation flag -gnat2022 must be specified. -RM References: 4.08 (5.3/2) 13.11.02 (4) 13.11.02 (17) +RM references: 5.02.01 (0) 2.02 (9) 3.03 (21.1/3) 4.01 (2/3) 8.06 (9/4) @end itemize -@geindex AI-0158 (Ada 2012 feature) +@geindex AI12-0127 (Ada 2022 feature) @itemize * @item -`AI-0158 Generalizing membership tests (2010-09-16)' +`AI12-0127 Partial aggregate notation (2016-10-12)' -This AI extends the syntax of membership tests to simplify complex conditions -that can be expressed as membership in a subset of values of any type. It -introduces syntax for a list of expressions that may be used in loop contexts -as well. +This AI describes a new constructor for aggregates, in terms of an existing record or array object, and a series of component-wise modifications of its value, given by named associations for the modified components. To use this feature the compilation flag @code{-gnat2022} must be specified. -RM References: 3.08.01 (5) 4.04 (3) 4.05.02 (3) 4.05.02 (5) 4.05.02 (27) +RM references: 4.03 (2) 4.03 (3/2) 4.03 (4) 4.03.01 (9) 4.03.01 (15/3) +4.03.01 (16/4) 4.03.01 (17/5) 4.03.01 (17.1/2) 4.03.03 (4) 4.03.03 +(14) 4.03.03 (17/5) 4.03.04 (0) 7.05 (2.6/2) @end itemize -@geindex AI-0161 (Ada 2012 feature) +@geindex AI12-0128 (Ada 2022 feature) @itemize * @item -`AI-0161 Restriction No_Default_Stream_Attributes (2010-09-11)' +`AI12-0128 Exact size access to parts of composite atomic objects (2019-11-24)' -A new restriction @code{No_Default_Stream_Attributes} prevents the use of any -of the default stream attributes for elementary types. If this restriction is -in force, then it is necessary to provide explicit subprograms for any -stream attributes used. +According to this AI, the compiler generates full access to atomic composite objects even if the access is only partial in the source code. To use this feature the compilation flag @code{-gnat2022} must be specified. -RM References: 13.12.01 (4/2) 13.13.02 (40/2) 13.13.02 (52/2) +RM references: C.06 (13.2/3) C.06 (19) C.06 (20) C.06 (22/2) C.06 (25/4) @end itemize -@geindex AI-0162 (Ada 2012 feature) +@geindex AI12-0129 (Ada 2022 feature) @itemize * @item -`AI-0162 Incomplete type completed by partial view (2010-09-15)' +`AI12-0129 Make protected objects more protecting (2020-07-01)' -Incomplete types are made more useful by allowing them to be completed by -private types and private extensions. +A new aspect Exclusive_Functions has been added to the language to force the +use of read/write locks on protected functions when needed. -RM References: 3.10.01 (2.5/2) 3.10.01 (2.6/2) 3.10.01 (3) 3.10.01 (4/2) +RM references: 9.05.01 (2) 9.05.01 (4) 9.05.01 (5) 9.05.01 (7) 9.05.03 +(15) 9.05.03 (23) @end itemize -@geindex AI-0163 (Ada 2012 feature) +@geindex AI12-0130 (Ada 2022 feature) @itemize * @item -`AI-0163 Pragmas in place of null (2010-07-01)' +`AI12-0130 All I/O packages should have Flush (2016-07-03)' -A statement sequence may be composed entirely of pragmas. It is no longer -necessary to add a dummy @code{null} statement to make the sequence legal. +The Flush routine has been added for the @code{Sequential_IO} and @code{Direct_IO} standard packages in the Ada 2012 COR.1:2016. The Flush routine here is equivalent to the one found in @code{Text_IO}. The @code{Flush} procedure synchronizes the external file with the internal file (by flushing any internal buffers) without closing the file. -RM References: 2.08 (7) 2.08 (16) +RM references: A.08.01 (10) A.08.02 (28/3) A.08.04 (10) A.10.03 (21) +A.12.01 (28/2) A.12.01 (28.6/1) @end itemize -@geindex AI-0171 (Ada 2012 feature) +@geindex AI12-0131 (Ada 2022 feature) @itemize * @item -`AI-0171 Pragma CPU and Ravenscar Profile (2010-09-24)' +`AI12-0131 Inherited Pre’Class when unspecified on initial subprogram (0000-00-00)' -A new package @code{System.Multiprocessors} is added, together with the -definition of pragma @code{CPU} for controlling task affinity. A new no -dependence restriction, on @code{System.Multiprocessors.Dispatching_Domains}, -is added to the Ravenscar profile. +If T1 is a tagged type with a primitive P that has no class-wide precondition, +and if T2 is an extension of T1 which overrides the inherited primitive P, then that overriding P is not allowed to have a class-wide precondition. Allowing it would be ineffective except in corner cases where it would be confusing. -RM References: D.13.01 (4/2) D.16 +RM references: 6.01.01 (17/3) 6.01.01 (18/3) @end itemize -@geindex AI-0173 (Ada 2012 feature) +@geindex AI12-0132 (Ada 2022 feature) @itemize * @item -`AI-0173 Testing if tags represent abstract types (2010-07-03)' +`AI12-0132 Freezing of renames-as-body (2020-06-13)' -The function @code{Ada.Tags.Type_Is_Abstract} returns @code{True} if invoked -with the tag of an abstract type, and @code{False} otherwise. +This AI clarifies that a renames-as-body freezes the expression of any +expression function that it renames. -RM References: 3.09 (7.4/2) 3.09 (12.4/2) +RM references: 13.14 (5/3) @end itemize -@geindex AI-0176 (Ada 2012 feature) +@geindex AI12-0133 (Ada 2022 feature) @itemize * @item -`AI-0176 Quantified expressions (2010-09-29)' +`AI12-0133 Type invariants and default initialized objects (0000-00-00)' -Both universally and existentially quantified expressions are implemented. -They use the new syntax for iterators proposed in AI05-139-2, as well as -the standard Ada loop syntax. +Clarify that invariant checking for a default-initialized object is performed regardless of where the object is declared (in particular, even when the full view of the type is visible). -RM References: 1.01.04 (12) 2.09 (2/2) 4.04 (7) 4.05.09 (0) +RM references: 7.03.02 (10.3/3) @end itemize -@geindex AI-0177 (Ada 2012 feature) +@geindex AI12-0135 (Ada 2022 feature) @itemize * @item -`AI-0177 Parameterized expressions (2010-07-10)' +`AI12-0135 Enumeration types should be eligible for convention C (0000-00-00)' -The new Ada 2012 notion of parameterized expressions is implemented. The form -is: +Ada previously allowed but did not require supporting specifying convention C for an enumeration type. Now it is required that an implementation shall support it. + +RM references: B.01 (14/3) B.01 (41/3) B.03 (65) +@end itemize + +@geindex AI12-0136 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0136 Language-defined packages and aspect Default_Storage_Pool (0000-00-00)' + +Clarify that the effect of specifying Default_Storage_Pool for an instance of a predefined generic is implementation-defined. No compiler impact. + +RM references: 13.11.03 (5/3) +@end itemize + +@geindex AI12-0137 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0137 Incomplete views and access to class-wide types (0000-00-00)' + +If the designated type of an access type is incomplete when the access type is declared, then we have rules about whether we get a complete view when a value of the access type is dereferenced. Clarify that analogous rules apply if the designated type is class-wide. + +RM references: 3.10.01 (2.1/2) +@end itemize + +@geindex AI12-0138 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0138 Iterators of formal derived types (2021-02-11)' + +AI12-0138 specifies the legality rules for confirming specifications of +nonoverridable aspects. This completes the legality checks for aspect @code{Implicit_Dereference} and simplifies the checks for those aspects that are inherited operations. + +RM references: 13.01.01 (18/4) 13.01.01 (34/3) 4.01.05 (6/3) 4.01.06 (5/3) +4.01.06 (6/3) 4.01.06 (7/3) 4.01.06 (8/3) 4.01.06 (9/3) 5.05.01 (11/3) +@end itemize + +@geindex AI12-0140 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0140 Access to unconstrained partial view when full view is constrained (0000-00-00)' + +Clarify some confusion about about whether what matters when checking whether designated subtypes statically match is the view of the designated type that is currently available v.s. the view that was available when the access type was declared. + +RM references: 3.02 (7/2) 7.03.01 (5/1) +@end itemize + +@geindex AI12-0143 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0143 Using an entry index of a family in a precondition (2022-04-05)' + +Ada 2022 adds the @code{Index} attribute, which allows the use of the entry family index of an entry call within preconditions and post-conditions. + +RM references: 6.01.01 (30/3) 9.05.04 (5/3) +@end itemize + +@geindex AI12-0144 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0144 Make Discrete_Random more flexible (2020-01-31)' + +A new function Random with First/Last parameters is provided in the +@code{Ada.Numerics.Discrete_Random} package. + +RM references: A.05.02 (20) A.05.02 (32) A.05.02 (41) A.05.02 (42) +@end itemize + +@geindex AI12-0145 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0145 Pool_of_Subpool returns null when called too early (0000-00-00)' + +Clarify that if you ask for the pool of a subpool (by calling @code{Pool_Of_Subpool}) before @code{Set_Pool_of_Subpool} is called, then the result is null. + +RM references: 13.11.04 (20/3) +@end itemize + +@geindex AI12-0147 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0147 Expression functions and null procedures can be declared in a protected_body (2015-03-05)' + +AI12-0147 specifies that null procedures and expression functions are now +allowed in protected bodies. + +RM references: 9.04 (8/1) +@end itemize + +@geindex AI12-0149 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0149 Type invariants are checked for functions returning access-to-type (0000-00-00)' + +Extend the rule saying that @code{Type_Invariant} checks are performed for access-to-T parameters (where T has a specified @code{Type_Invariant}) so that the rule also applies to function results. + +RM references: 7.03.02 (19.3/4) +@end itemize + +@geindex AI12-0150 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0150 Class-wide type invariants and statically bound calls (0000-00-00)' + +The same approach used in AI12-0113 to ensure that contract-related calls associated with a call to a subprogram “match” with respect to dispatching also applies to @code{Type_Invariant} checking. + +RM references: 7.03.02 (3/3) 7.03.02 (5/3) 7.03.02 (9/3) 7.03.02 (22/3) +@end itemize + +@geindex AI12-0154 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0154 Aspects of library units (0000-00-00)' + +Clarify that an aspect_specification for a library unit is equivalent to a corresponding aspect-specifying pragma. + +RM references: 13.01.01 (32/3) +@end itemize + +@geindex AI12-0156 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0156 Use subtype_indication in generalized iterators (0000-00-00)' + +For iterating over an array, we already allow (but do not require) explicitly providing a subtype indication in an iterator_specification. Tee AI generalizes this to handle the case where the element type of the array is of an anonymous access type. This also allows (but does not require) explicitly naming the cursor subtype in a generalized iterator. +The main motivation for allowing these new cases is improving readability by making it easy to infer the (sub)type of the iteration object just by looking at the loop. + +RM references: 5.05.02 (2/3) 5.05.02 (5/4) 5.05.02 (7/3) 3.10.02 (11.1/2) +@end itemize + +@geindex AI12-0157 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0157 Missing rules for expression functions (0000-00-00)' + +Clarify that an expression function behaves like a single-return-statement +function in more cases: it can return an aggregate without extra parens, the expression has an applicable index constraint, and the same accessibility rules apply in both cases. + +For instance, the code below is legal: @example -function-specification is (expression) +subtype S is String (1 .. 10); +function f return S is (others => '?'); @end example -This is exactly equivalent to the -corresponding function body that returns the expression, but it can appear -in a package spec. Note that the expression must be parenthesized. +RM references: 3.10.02 (19.2/4) 3.10.02 (19.3/4) 4.03.03 (11/2) 6.08 (2/3) +6.08 (3/3) 6.08 (5/3) 6.08 (6/3) 6.08 (7/3) 7.05 (2.9/3) 13.14 +(5.1/4) 13.14 (5.2/4) 13.14 (8/3) 13.14 (10.1/3) 13.14 (10.2/3) +13.14 (10.3/3) +@end itemize + +@geindex AI12-0160 (Ada 2022 feature) -RM References: 13.11.01 (3/2) + +@itemize * + +@item +`AI12-0160 Adding an indexing aspect to an indexable container type (0000-00-00)' + +If the parent type of a derived type has exactly one of the two indexing aspects (that is, constant_indexing and variable_indexing) specified, then the derived type cannot have a specification for the other one. + +RM references: 4.01.06 (6/4) 4.01.06 (9/4) 3.06 (22.2/3) @end itemize -@geindex AI-0178 (Ada 2012 feature) +@geindex AI12-0162 (Ada 2022 feature) @itemize * @item -`AI-0178 Incomplete views are limited (0000-00-00)' +`AI12-0162 Memberships and Unchecked_Unions (0000-00-00)' -This AI clarifies the role of incomplete views and plugs an omission in the -RM. GNAT always correctly restricted the use of incomplete views and types. +Clarify that membership tests for unchecked_union types work consistently when +testing membership in more than one subtype (X in AA | BB | CC) as when +testing for one. -RM References: 7.05 (3/2) 7.05 (6/2) +RM references: B.03.03 (25/2) @end itemize -@geindex AI-0179 (Ada 2012 feature) +@geindex AI12-0164 (Ada 2022 feature) @itemize * @item -`AI-0179 Statement not required after label (2010-04-10)' +`AI12-0164 Max_Entry_Queue_Length aspect for entries (2019-06-11)' -It is not necessary to have a statement following a label, so a label -can appear at the end of a statement sequence without the need for putting a -null statement afterwards, but it is not allowable to have only labels and -no real statements in a statement sequence. +AI12-0164 defines pragma and aspect @code{Max_Entry_Queue_Length} in addition +to the GNAT-specific equivalents @code{Max_Queue_Length} and @code{Max_Entry_Queue_Depth}. -RM References: 5.01 (2) +RM references: D.04 (16) @end itemize -@geindex AI-0181 (Ada 2012 feature) +@geindex AI12-0165 (Ada 2022 feature) @itemize * @item -`AI-0181 Soft hyphen is a non-graphic character (2010-07-23)' +`AI12-0165 Operations of class-wide types and formal abstract subprograms (2021-10-19)' -From Ada 2005 on, soft hyphen is considered a non-graphic character, which -means that it has a special name (@code{SOFT_HYPHEN}) in conjunction with the -@code{Image} and @code{Value} attributes for the character types. Strictly -speaking this is an inconsistency with Ada 95, but in practice the use of -these attributes is so obscure that it will not cause problems. +Ada 2022 specifies that when the controlling type of a formal abstract +subprogram declaration is a formal type, and the actual type is a class-wide type T’Class, the actual subprogram can be an implicitly declared subprogram corresponding to a primitive operation of type T. -RM References: 3.05.02 (2/2) A.01 (35/2) A.03.03 (21) +RM references: 12.06 (8.5/2) @end itemize -@geindex AI-0182 (Ada 2012 feature) +@geindex AI12-0166 (Ada 2022 feature) @itemize * @item -`AI-0182 Additional forms for' @code{Character'Value} `(0000-00-00)' +`AI12-0166 External calls to protected functions that appear to be internal calls (2016-11-15)' -This AI allows @code{Character'Value} to accept the string @code{'?'} where -@code{?} is any character including non-graphic control characters. GNAT has -always accepted such strings. It also allows strings such as -@code{HEX_00000041} to be accepted, but GNAT does not take advantage of this -permission and raises @code{Constraint_Error}, as is certainly still -permitted. +According to this AI, the compiler rejects a call to a protected operation when the call appears within a precondition for another protected operation. -RM References: 3.05 (56/2) +RM references: 6.01.01 (34/3) 9.05 (3/3) 9.05 (7.1/3) @end itemize -@geindex AI-0183 (Ada 2012 feature) +@geindex AI12-0167 (Ada 2022 feature) @itemize * @item -`AI-0183 Aspect specifications (2010-08-16)' +`AI12-0167 Type_Invariants and tagged-type View Conversions (0000-00-00)' + +This AI clarifies that no invariant check is performed in a case where an invariant-violating value is assigned to a component. This confirms the current compiler behavior. -Aspect specifications have been fully implemented except for pre and post- -conditions, and type invariants, which have their own separate AI’s. All -forms of declarations listed in the AI are supported. The following is a -list of the aspects supported (with GNAT implementation aspects marked) +RM references: 7.03.02 (9/4) @end itemize +@geindex AI12-0168 (Ada 2022 feature) -@multitable {xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx} {xxxxxxxxxxxxx} -@headitem -Supported Aspect +@itemize * -@tab +@item +`AI12-0168 Freezing of generic instantiations of generics with bodies (0000-00-00)' -Source +Adjust freezing rules to be compatible with AI12-0103-1. The change confirms the current compiler behavior. -@item +RM references: 13.14 (3/4) +@end itemize -@code{Ada_2005} +@geindex AI12-0169 (Ada 2022 feature) -@tab -– GNAT +@itemize * -@item +@item +`AI12-0169 Aspect specifications for entry bodies (0000-00-00)' -@code{Ada_2012} +Change syntax to allow aspect specifications for implementation-defined aspects on entry bodies. The change doesn’t influence any of the language-defined aspects and is solely required for SPARK. -@tab +RM references: 9.05.02 (5) +@end itemize -– GNAT +@geindex AI12-0170 (Ada 2022 feature) -@item -@code{Address} +@itemize * -@tab +@item +`AI12-0170 Abstract subprogram calls in class-wide precondition expressions (2020-07-06)' -@item +This AI specifies rules for calls to abstract functions within class-wide preconditions and postconditions. -@code{Alignment} +RM references: 3.09.03 (7) 6.01.01 (7/4) 6.01.01 (18/4) 6.01.01 (18.2/4) +@end itemize -@tab +@geindex AI12-0172 (Ada 2022 feature) -@item -@code{Atomic} +@itemize * -@tab +@item +`AI12-0172 Raise expressions in limited contexts (2019-07-29)' -@item +The compiler has been enhanced to support the use of raise expressions in +limited contexts. -@code{Atomic_Components} +RM references: 7.05 (2.1/3) +@end itemize -@tab +@geindex AI12-0173 (Ada 2022 feature) -@item -@code{Bit_Order} +@itemize * -@tab +@item +`AI12-0173 Expression of an extended return statement (0000-00-00)' -@item +Fix the wording related to expression of an extended return statement that was made ambiguous by changes of syntax in other AI’s. No compiler changes involved. -@code{Component_Size} +RM references: 6.05 (3/2) 6.05 (5/3) +@end itemize -@tab +@geindex AI12-0174 (Ada 2022 feature) -@item -@code{Contract_Cases} +@itemize * -@tab +@item +`AI12-0174 Aggregates of Unchecked_Unions using named notation (0000-00-00)' -– GNAT +In many cases, it is illegal to name a discriminant of an unchecked_union type. Relax this rule to allow the use of named notation in an aggregate of an unchecked_union type. -@item +RM references: B.03.03 (9/3) +@end itemize -@code{Discard_Names} +@geindex AI12-0175 (Ada 2022 feature) -@tab -@item +@itemize * -@code{External_Tag} +@item +`AI12-0175 Preelaborable packages with address clauses (2020-03-20)' -@tab +The compiler nows accepts calls to certain functions that are essentially unchecked conversions in preelaborated library units. To use this feature the compilation flag @code{-gnat2022} must be specified. -@item +RM references: 10.02.01 (7) +@end itemize -@code{Favor_Top_Level} +@geindex AI12-0179 (Ada 2022 feature) -@tab -– GNAT +@itemize * -@item +@item +`AI12-0179 Failure of postconditions of language-defined units (0000-00-00)' -@code{Inline} +A clarification that expressing postconditions for predefined units via RM wording or via @code{Post} aspect specifications are equivalent. In particular, the expression in such a @code{Post} aspect specification should not yield False. No implementation changes needed. -@tab +RM references: 1.01.03 (17/3) 11.04.02 (23.1/3) +@end itemize -@item +@geindex AI12-0180 (Ada 2022 feature) -@code{Inline_Always} -@tab +@itemize * -– GNAT +@item +`AI12-0180 Using protected subprograms and entries within an invariant (2020-06-22)' -@item +AI12-0180 makes entries and protected subprograms directly visible within Invariant aspects of a task or protected type. -@code{Invariant} +RM references: 13.01.01 (12/3) +@end itemize -@tab +@geindex AI12-0181 (Ada 2022 feature) -– GNAT -@item +@itemize * -@code{Machine_Radix} +@item +`AI12-0181 Self-referencing representation aspects (0000-00-00)' -@tab +Clarify that a name or expression which freezes an entity cannot occur in an aspect specification for that entity. -@item +RM references: 13.01 (9/4) 13.01 (9.1/4) 13.14 (19) +@end itemize -@code{No_Return} +@geindex AI12-0182 (Ada 2022 feature) -@tab -@item +@itemize * -@code{Object_Size} +@item +`AI12-0182 Pre’Class and protected operations (0000-00-00)' -@tab +Confirm that Pre’Class and Post’Class cannot be specified for a protected operation. No language change. -– GNAT +RM references: 13.01.01 (16/3) +@end itemize -@item +@geindex AI12-0184 (Ada 2022 feature) -@code{Pack} -@tab +@itemize * -@item +@item +`AI12-0184 Long Long C Data Types (2020-01-30)' -@code{Persistent_BSS} +Two new types @code{long_long} and @code{unsigned_long_long} are introduced in the package @code{Interfaces.C}. -@tab +RM references: B.03 (71.3/3) +@end itemize -– GNAT +@geindex AI12-0185 (Ada 2022 feature) -@item -@code{Post} +@itemize * -@tab +@item +`AI12-0185 Resolution of postcondition-specific attributes (0000-00-00)' -@item +Clarify resolution rules for @code{'Old} and @code{'Result} attribute references to match original intent. -@code{Pre} +RM references: 6.01.01 (7/4) 6.01.01 (8/3) 6.01.01 (26.10/4) 6.01.01 (29/3) +@end itemize -@tab +@geindex AI12-0186 (Ada 2022 feature) -@item -@code{Predicate} +@itemize * -@tab +@item +`AI12-0186 Profile freezing for the Access attribute (0000-00-00)' -@item +Clarify that the use of Some_Subprogram’Access does not freeze the profile of Some_Subprogram. -@code{Preelaborable_Initialization} +RM references: 13.14 (15) +@end itemize -@tab +@geindex AI12-0187 (Ada 2022 feature) -@item -@code{Pure_Function} +@itemize * -@tab +@item +`AI12-0187 Stable properties of abstract data types (2020-11-04)' -– GNAT +Ada 2022 defines a new aspect, @code{Stable_Properties}, for use in +generating additional postcondition checks for subprograms. -@item +RM references: 7.03.04 (0) 13.01.01 (4/3) +@end itemize -@code{Remote_Access_Type} +@geindex AI12-0191 (Ada 2022 feature) -@tab -– GNAT +@itemize * -@item +@item +`AI12-0191 Clarify “part” for type invariants (0000-00-00)' -@code{Shared} +Clarify that for purposes of determining whether an invariant check is required for a “part” of an object, we do not look at “parts” which do not correspond to “parts” of the nominal type of the object. For example, if we have a parameter Param of a tagged type T1 (or equivalently of type T1’Class), and type T2 is an extension of T1 which declares a component Foo, and T1’Class (Param)’Tag = T2’Tag, then no invariant check is performed for Param’s Foo component (or any subcomponent thereof). -@tab +RM references: 3.03 (23/5) 3.09.01 (4.1/2) 6.08 (5.8/5) 7.03.02 (8.3/5) +7.03.02 (8.4/5) 7.03.02 (8.5/5) 7.03.02 (8.6/5) 7.03.02 (8.7/5) +7.03.02 (8.8/5) 7.03.02 (8.9/5) 7.03.02 (8.10/5) 7.03.02 (8.11/5) +7.03.02 (8.12/5) 7.03.02 (10.1/4) 7.03.02 (15/5) 7.03.02 (17/4) +7.03.02 (18/4) 7.03.02 (19/4) 13.13.02 (9/3) +@end itemize -– GNAT +@geindex AI12-0192 (Ada 2022 feature) -@item -@code{Size} +@itemize * -@tab +@item +`AI12-0192 “requires late initialization” and protected types (2020-03-11)' -@item +This AI clarifies that components of a protected type require late initialization when their initialization references (implicitly) the current instance of the type. -@code{Storage_Pool} +RM references: 3.03.01 (8.1/2) +@end itemize -@tab +@geindex AI12-0194 (Ada 2022 feature) -@item -@code{Storage_Size} +@itemize * -@tab +@item +`AI12-0194 Language-defined aspects and entry bodies (0000-00-00)' -@item +The AI Includes entry bodies on the list of bodies for which no language-defined aspects can be specified (although specifying an implementation-defined aspect may be allowed). -@code{Stream_Size} +A wording change, no implementation impact. -@tab +RM references: 13.01.01 (17/3) +@end itemize -@item +@geindex AI12-0195 (Ada 2022 feature) -@code{Suppress} -@tab +@itemize * -@item +@item +`AI12-0195 Inheriting body but overriding precondition or postcondition (2021-08-11)' -@code{Suppress_Debug_Info} +Ada 2022 specifies that if a primitive with a class-wide precondition or +postcondition is inherited, and some primitive function called in the class-wide precondition or postcondition is overridden, then a dispatching call to the first primitive with a controlling operand that has the tag of the overriding type is required to check both the interpretation using the overriding function and the interpretation using the original overridden function. -@tab +RM references: 6.01.01 (38/4) +@end itemize -– GNAT +@geindex AI12-0196 (Ada 2022 feature) -@item -@code{Test_Case} +@itemize * -@tab +@item +`AI12-0196 Concurrent access to Ada container libraries (0000-00-00)' -– GNAT +Clarify that parallel execution of operations which use cursors to refer to different elements of the same container does not violate the rules about erroneous concurrent access in some cases. That is, if C1 and C2 are cursors that refer to different elements of some container, then it is ok to concurrently execute an operation that is passed C1 and which accesses one element of the container, with another operation (perhaps the same operation, perhaps not) that is passed C2 and which accesses another element of the container. -@item +RM references: A.18 (2/2) A.18.02 (125/2) A.18.02 (133/3) A.18.02 (135/3) +A.18.03 (81/3) A.18.04 (36/3) A.18.07 (34/2) A.18.10 (116/3) +@end itemize -@code{Thread_Local_Storage} +@geindex AI12-0198 (Ada 2022 feature) -@tab -– GNAT +@itemize * -@item +@item +`AI12-0198 Potentially unevaluated components of array aggregates (2020-05-13)' -@code{Type_Invariant} +Ada 2022 enforces the detection of components that belong to a nonstatic or +null range of index values of an array aggregate. -@tab +RM references: 6.01.01 (22.1/4) +@end itemize -@item +@geindex AI12-0199 (Ada 2022 feature) -@code{Unchecked_Union} -@tab +@itemize * -@item +@item +`AI12-0199 Abstract subprogram calls in class-wide invariant expressions (0000-00-00)' -@code{Universal_Aliasing} +Class-wide type invariants do not apply to abstract types, to avoid various +problems. Define the notion of a “corresponding expression” for a class-wide +type invariant, replacing references to components as appropriate, taking into +account rules for corresponding and specified discriminants when applying them +to a nonabstract descendant. -@tab +RM references: 7.03.02 (5/4) 7.03.02 (8/3) +@end itemize -– GNAT +@geindex AI12-0201 (Ada 2022 feature) -@item -@code{Unmodified} +@itemize * -@tab +@item +`AI12-0201 Missing operations of static string types (2020-02-25)' -– GNAT +Relational operators and type conversions of static string types are now static in Ada 2022. -@item +RM references: 4.09 (9) 4.09 (19) 4.09 (20) 4.09 (24) +@end itemize -@code{Unreferenced} +@geindex AI12-0203 (Ada 2022 feature) -@tab -– GNAT +@itemize * -@item +@item +`AI12-0203 Overriding a nonoverridable aspect (0000-00-00)' -@code{Unreferenced_Objects} +A corner case wording clarification that has no impact on compilers. -@tab +RM references: 4.01.05 (5.1/4) 4.01.05 (7/3) +@end itemize -– GNAT +@geindex AI12-0204 (Ada 2022 feature) -@item -@code{Unsuppress} +@itemize * -@tab +@item +`AI12-0204 Renaming of a prefixed view (2020-02-24)' -@item +AI12-0204 clarifies that the prefix of a prefixed view that is renamed or +passed as a formal subprogram must be renameable as an object. -@code{Value_Size} +RM references: 8.05.04 (5.2/2) 12.06 (8.3/2) 4.01.03 (13.1/2) 4.01.06 (9/5) +@end itemize -@tab +@geindex AI12-0205 (Ada 2022 feature) -– GNAT -@item +@itemize * -@code{Volatile} +@item +`AI12-0205 Defaults for generic formal types (2021-04-01)' -@tab +AI12-0205 specifies syntax and semantics that provide defaults for formal types of generic units. The legality rules guarantee that the default subtype_mark that is specified for a formal type would be a legal actual in any instantiation of the generic unit. -@item +RM references: 12.03 (7/3) 12.03 (10) 12.05 (2.1/3) 12.05 (2.2/3) 12.05 (7/2) +@end itemize -@code{Volatile_Components} +@geindex AI12-0206 (Ada 2022 feature) -@tab -@item +@itemize * + +@item +`AI12-0206 Nonoverridable should allow arbitrary kinds of aspects (0000-00-00)' -@code{Warnings} +A non-overridable aspect can have a value other than a name; for example, @code{Max_Entry_Queue_Length} is non-overridable and it has a scalar value. +Part of adding support for @code{Max_Entry_Queue_Length} (which is already supported by GNAT). -@tab +RM references: 13.01.01 (18.2/4) 13.01.01 (18.3/4) 13.01.01 (18.6/4) +@end itemize -– GNAT +@geindex AI12-0207 (Ada 2022 feature) -@end multitable +@itemize * -@quotation +@item +`AI12-0207 Convention of anonymous access types (2020-02-01)' -Note that for aspects with an expression, e.g. @code{Size}, the expression is -treated like a default expression (visibility is analyzed at the point of -occurrence of the aspect, but evaluation of the expression occurs at the -freeze point of the entity involved). - -RM References: 3.02.01 (3) 3.02.02 (2) 3.03.01 (2/2) 3.08 (6) -3.09.03 (1.1/2) 6.01 (2/2) 6.07 (2/2) 9.05.02 (2/2) 7.01 (3) 7.03 -(2) 7.03 (3) 9.01 (2/2) 9.01 (3/2) 9.04 (2/2) 9.04 (3/2) -9.05.02 (2/2) 11.01 (2) 12.01 (3) 12.03 (2/2) 12.04 (2/2) 12.05 (2) -12.06 (2.1/2) 12.06 (2.2/2) 12.07 (2) 13.01 (0.1/2) 13.03 (5/1) -13.03.01 (0) -@end quotation +The convention of anonymous access elements of arrays now have the same convention as the array instead of convention Ada. + +RM references: 6.03.01 (13.1/3) B.01 (19) B.01 (21/3) +@end itemize + +@geindex AI12-0208 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0208 Predefined Big numbers support (0000-00-00)' + +Add predefined package @code{Ada.Numerics.Big_Numbers}. + +RM references: A.05.05 (0) A.05.06 (0) A.05.07 (0) +@end itemize + +@geindex AI12-0211 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0211 Interface types and inherited nonoverridable aspects (2020-08-24)' + +AI12-0211 introduces two new legality rules for Ada 2022. The first says that +if a nonoverridable aspect is explicitly specified for a type that also inherits that aspect from another type (an ancestor or a progenitor), then the explicit aspect specification shall be confirming. The second says that if a type inherits a nonoverridable aspect from two different sources (this can only occur if at least one of the two is an interface type), then the two sources shall agree with respect to the given aspect. This AI is a binding interpretation, so these checks are performed even for earlier Ada versions. Because of compatibility concerns, an escape mechanism for suppressing these legality checks is provided: these new checks always pass if the @code{-gnatd.M} switch (relaxed RM semantics) is specified. + +RM references: 13.01.01 (18.3/5) 13.01.01 (18.4/4) +@end itemize + +@geindex AI12-0212 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0212 Container aggregates; generalized array aggregates (0000-00-00)' + +The AI defines a new feature: generalized array aggregates that already exists in GNAT. + +RM references: 4.03.05 (0) 1.01.04 (12) 1.01.04 (13) 2.01 (15) 2.02 (9/5) +3.07.01 (3) 3.08.01 (4) 4.03 (2/5) 4.03 (3/5) 4.03.01 (5) 4.03.03 +(3/2) 4.03.03 (4/5) 4.03.03 (5.1/5) 4.03.03 (9) 4.03.03 (17/5) +4.03.03 (21) 4.03.03 (23.2/5) 4.03.03 (26) 4.03.03 (27) 4.03.03 +(31) 4.03.04 (4/5) 4.04 (3.1/3) 11.02 (3) 13.01.01 (5/3) +13.01.01 (7/3) A.18.02 (8/3) A.18.02 (14/2) A.18.02 (47/2) A.18.02 +(175/2) A.18.03 (6/3) A.18.05 (3/3) A.18.06 (4/3) A.18.08 (3/3) +A.18.09 (4/3) +@end itemize + +@geindex AI12-0216 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0216 6.4.1(6.16-17/3) should never apply to composite objects (0000-00-00)' + +Fix wording so that parameter passing cases where there isn’t really any aliasing problems or evaluation order dependency are classified as acceptable. + +No compiler impact. + +RM references: 6.04.01 (6.17/3) +@end itemize + +@geindex AI12-0217 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0217 Rules regarding restrictions on the use of the Old attribute are too strict (2020-03-25)' + +AI12-0217 loosens the rules regarding what is allowed as the prefix of a ‘Old +attribute reference. In particular, a prefix is now only required to “statically name” (as opposed to the previous “statically denote”) an object. This means that components of composite objects that previously would have been illegal are now legal prefixes. + +RM references: 6.01.01 (24/3) 6.01.01 (27/3) +@end itemize + +@geindex AI12-0220 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0220 Pre/Post for access-to-subprogram types (2020-04-14)' + +Contract aspects can now be specified for access-to-subprogram types, as +defined for Ada 2022 in this AI. + +RM references: 6.01.01 (1/4) 6.01.01 (2/3) 6.01.01 (4/3) 6.01.01 (19/3) +6.01.01 (28/3) 6.01.01 (29/3) 6.01.01 (39/3) 13.01.01 (12/5) +@end itemize + +@geindex AI12-0222 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0222 Representation aspects and private types (0000-00-00)' + +Clarify that the rule against specifying a representation aspect for a type before the type is completely defined also applies in the case where aspect_specification syntax is used (not just in the case where a pragma or some other kind of representation item is used). + +GNAT already implements this. + +RM references: 13.01 (9/5) 13.01 (9.1/4) 13.01 (9.2/5) +@end itemize + +@geindex AI12-0225 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0225 Prefix of Obj’Image (0000-00-00)' + +Clarify some Object vs. Value corner cases to allow names that do not denote objects in more contexts, such as a qualified expression as a prefix of an Image attribute. + +RM references: 3.05 (55.1/4) +@end itemize + +@geindex AI12-0226 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0226 Make objects more consistent (0000-00-00)' + +Allow value conversions as objects. For instance this example becomes legal: @code{Long_Integer (Duration'Last)'Image}. + +RM references: 3.03 (11.1/3) 3.03 (21.1/3) 3.03 (23.8/5) 4.06 (58.1/4) +4.06 (58.3/4) +@end itemize + +@geindex AI12-0227 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0227 Evaluation of nonstatic universal expressions when no operators are involved (0000-00-00)' + +Nonstatic universal integer expressions are always evaluated at runtime as values of type root_integer; similarly, nonstatic universal real expressions are always evaluated at runtime as values of type root_real. +This AI corrects a wording oversight. Previously, the above was only true if a call to operator was involved. With this change it is true in all cases. + +No compiler impact. + +RM references: 4.04 (10) 8.06 (29) +@end itemize + +@geindex AI12-0228 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0228 Properties of qualified expressions used as names (2020-02-19)' + +This AI clarifies that properties of a qualified object pass through a +qualified expression used as a name. Specifically, “aliased” and “known to be +constrained” are not changed by a qualified expression. + +RM references: 3.03 (23.7/3) 3.10 (9/3) +@end itemize + +@geindex AI12-0231 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0231 Null_Task_Id and Activation_Is_Complete (0000-00-00)' + +Add @code{Activation_Is_Complete} to the list of functions that raise P_E if passed @code{Null_Task_Id}, correcting an oversight. + +RM references: C.07.01 (15) +@end itemize + +@geindex AI12-0232 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0232 Rules for pure generic bodies (0000-00-00)' + +Clarify the rules for a generic body nested in a pure library unit. + +RM references: 10.02.01 (9/3) 10.02.01 (15.1/3) 10.02.01 (15.5/3) +@end itemize + +@geindex AI12-0233 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0233 Pre’Class for hidden operations of private types (0000-00-00)' + +Clarify how @code{Pre'Class} checking interacts with private-part overriding of inherited subprograms. A class-wide precondition can be checked at runtime even if it is specified in a private part that the caller cannot see into. + +RM references: 6.01.01 (38/4) +@end itemize + +@geindex AI12-0234 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0234 Compare-and-swap for atomic objects (0000-00-00)' + +New predefined units for atomic operations (@code{System.Atomic_Operations} and child units thereof). + +RM references: C.06.01 (0) C.06.02 (0) +@end itemize + +@geindex AI12-0235 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0235 System.Storage_Pools should be pure (0000-00-00)' + +Change the predefined package System.Storage_Pools from preelaborated to pure. + +RM references: 13.11 (5) +@end itemize + +@geindex AI12-0236 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0236 declare expressions (2020-04-08)' + +A @code{declare expression} allows constant objects and renamings to be +declared within an expression. + +RM references: 2.08 (6) 3.09.02 (3) 3.10.02 (9.1/3) 3.10.02 (16.1/3) +3.10.02 (32.2/3) 4.03.02 (5.4/3) 4.03.03 (15.1/3) 4.04 (7/3) +4.05.09 (0) 6.02 (10/4) 7.05 (2.1/5) 8.01 (2.1/4) +@end itemize + +@geindex AI12-0237 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0237 Getting the representation of an enumeration value (2020-01-31)' + +The GNAT-specific attributes @code{Enum_Rep} and @code{Enum_Val} have been standardized and are now also supported as Ada 2022 attributes. + +RM references: 13.04 (10) 13.04 (11/3) +@end itemize + +@geindex AI12-0242 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0242 Shorthand Reduction Expressions for Objects (0000-00-00)' + +Allow reduction expressions to iterate over an an array or an iterable object without having to explicitly create a value sequence. + +This allows, for instance, writing @code{A'Reduce("+", 0)} instead of the equivalent (but more verbose) @code{[for Value of A => Value]'Reduce("+", 0);}. + +RM references: 4.05.10 (0) 4.01.04 (6) +@end itemize + +@geindex AI12-0247 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0247 Potentially Blocking goes too far for Detect_Blocking (0000-00-00)' + +During a protected action, a call on a subprogram that contains a potentially blocking operation is considered a bounded error (so raising P_E is optional). +This rule imposed an unreasonable implementation burden. +The new rule introduced by this AI allows ignoring (i.e., not detecting) the problem until execution of a potentially blocking operation is actually attempted. + +RM references: 9.05 (55/5) 9.05 (56/5) 9.05.01 (18/5) H.05 (5/2) +@end itemize + +@geindex AI12-0249 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0249 User-defined numeric literals (2020-04-07)' + +Compiler support is added for three new aspects (@code{Integer_Literal}, @code{Real_Literal}, and @code{String_Literal}) as described in AI12-0249 (for @code{Integer_Literal} and @code{Real_Literal}), AI12-0295 (for @code{String_Literal}), and in two follow-up AIs (AI12-0325 and AI12-0342). For pre-Ada 2022 versions of Ada, these are treated as implementation-defined +aspects. Some implementation work remains, particularly in the interactions between these aspects and tagged types. + +RM references: 4.02 (9) 4.02.01 (0) 4.09 (3) +@end itemize + +@geindex AI12-0250 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0250 Iterator Filters (2020-05-19)' + +This AI defines Ada 2022 feature of iterator filters, which can be +applied to loop parameter specifications and iterator specifications. + +RM references: 4.03.03 (21) 4.03.03 (26) 4.03.03 (31) 4.03.05 (0) 4.05.10 +(0) 5.05 (4) 5.05 (7) 5.05 (9/4) 5.05 (9.1/4) 5.05 (10) +5.05.02 (2/3) 5.05.02 (10/3) 5.05.02 (11/3) +@end itemize + +@geindex AI12-0252 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0252 Duplicate interrupt handlers under Ravenscar (2018-07-05)' + +Ada Issue AI12-0252 requires that the runtime shall terminate with a +Program_Error when more than one interrupt handler is attached to the same interrupt and the restriction No_Dynamic_Attachment is in effect. + +RM references: C.03.01 (13) +@end itemize + +@geindex AI12-0256 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0256 Aspect No_Controlled_Parts (2021-01-26)' + +The compiler now supports the Ada 2022 aspect No_Controlled_Parts (see +AI12-0256). When specified for a type, this aspect requires that the type and any of its ancestors must not have any controlled parts. + +RM references: H.04.01 (0) 13.01.01 (18.7/5) +@end itemize + +@geindex AI12-0258 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0258 Containers and controlled element types (0000-00-00)' -@geindex AI-0185 (Ada 2012 feature) +Most predefined containers are allowed to defer finalization of container elements until the finalization of the container. This allows implementation flexibility but causes problems in some cases. AI12-0258 tightens up the rules for the indefinite containers to say that finalization happens earlier - if a client needs the tighter finalization guarantees, then it can use the indefinite containers (even if the element subtype in question is definite). Other solutions involving the holder generic are also possible. + +GNAT implements these tighter element finalization requirements for instances of the indefinite container generics. + +RM references: A.18 (10/4) +@end itemize + +@geindex AI12-0259 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0259 Lower bound of strings returned from Ada.Command_Line (0000-00-00)' + +Specify that the low-bound of a couple of predefined String-valued functions will always be one. + +RM references: A.15 (14) A.15 (16/3) +@end itemize + +@geindex AI12-0260 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0260 Functions Is_Basic and To_Basic in Wide_Characters.Handling (2020-04-01)' + +AI12-0260 is implemented for Ada 2022, providing the new functions @code{Is_Basic} and @code{To_Basic} in package @code{Ada.Wide_Characters.Handling}. + +RM references: 1.02 (8/3) A.03.05 (8/3) A.03.05 (20/3) A.03.05 (21/3) +A.03.05 (33/3) A.03.05 (61/3) +@end itemize + +@geindex AI12-0261 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0261 Conflict in “private with” rules (0000-00-00)' + +If a library unit is only visible at some point because of a “private with”, there are legality rules about a name denoting that entity. The AI cleans up the wording so that it captures the intent in a corner case involving a private-child library-unit subprogram. The previous wording incorrectly caused this case to be illegal. + +RM references: 10.01.02 (12/3) 10.01.02 (13/2) 10.01.02 (14/2) 10.01.02 +(15/2) 10.01.02 (16/2) +@end itemize + +@geindex AI12-0262 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0262 Map-Reduce attribute (0000-00-00)' + +The AI defines Reduction Expressions to allow the programmer to apply the +Map-Reduce paradigm to map/transform a set of values to a new set of values, +and then summarize/reduce the transformed values into a single result value. + +RM references: 4.01.04 (1) 4.01.04 (6) 4.01.04 (11) 4.05.10 (0) +@end itemize + +@geindex AI12-0263 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0263 Update references to ISO/IEC 10646 (0000-00-00)' + +Change RM references to ISO/IEC 10646:2011 to instead refer to ISO/IEC 10646:2017. No compiler impact. + +RM references: 1.01.04 (14.2/3) 2.01 (1/3) 2.01 (3.1/3) 2.01 (4/3) 2.01 +(4.1/5) 2.01 (5/3) 2.01 (15/3) 2.01 (4.1/5) 2.01 (5/3) 2.03 +(4.1/5) 2.03 (5/3) 3.05.02 (2/3) 3.05.02 (3/3) 3.05.02 (4/3) A.01 +(36.1/3) A.01 (36.2/3) A.03.02 (32.6/5) A.03.05 (51.2/5) A.03.05 +(55/3) A.03.05 (59/3) A.04.10 (3/3) B.05 (21/5) +@end itemize + +@geindex AI12-0264 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0264 Overshifting and overrotating (0000-00-00)' + +Clarify Shift and Rotate op behavior with large shift/rotate amounts. + +RM references: B.02 (9) +@end itemize + +@geindex AI12-0265 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0265 Default_Initial_Condition for types (2020-11-13)' + +The aspect @code{Default_Initial_Condition}, originally proposed by SPARK and +supported in GNAT, is now also included in Ada 2022. One change from the +original implementation is that when the aspect is specified on ancestor types of a derived type, the ancestors’ check expressions also apply to the derived type. +@code{Default_Initial_Condition} checks are also now applied in cases of default +initialization of components, allocators, ancestor parts of extension aggregates, and box associations of aggregates. + +RM references: 7.03.03 (0) 1.01.03 (17.1/5) 11.04.02 (23.2/5) 11.04.02 (23.3/5) +@end itemize + +@geindex AI12-0269 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0269 Aspect No_Return for functions reprise (2020-03-19)' + +This amendment has been implemented under the @code{-gnat2022} switch, and the +compiler now accepts the aspect/pragma No_Return for functions and generic +functions. + +RM references: 6.05.01 (0) 6.05.01 (1/3) 6.05.01 (3.1/3) 6.05.01 (3.4/3) +6.05.01 (5/2) 6.05.01 (6/2) 6.05.01 (7/2) J.15.02 (2/3) J.15.02 +(3/3) J.15.02 (4/3) +@end itemize + +@geindex AI12-0272 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0272 (part 1) Pre/Postconditions for formal subprograms (0000-00-00)' + +Pre and Post aspects can be specified for a generic formal subprogram. @code{Default_Initial_Condition} can be specified for a generic formal private type. + +GNAT implements this with an exception of the part related to @code{Default_Initial_Condition}. + +RM references: 6.01.01 (1/5) 6.01.01 (39/5) 7.03.03 (1/5) 7.03.03 (2/5) +7.03.03 (8/5) 7.03.04 (5/5) F.01 (1) +@end itemize + +@geindex AI12-0275 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0275 Make subtype_mark optional in object renames (2020-01-28)' + +AI12-0275 allows object renamings to be declared without an explicit +subtype_mark or access_definition. This feature can be used by compiling +with the switch @code{-gnat2022}. + +RM references: 8.05.01 (2/3) 8.05.01 (3/2) +@end itemize + +@geindex AI12-0277 (Ada 2022 feature) @itemize * @item -`AI-0185 Ada.Wide_[Wide_]Characters.Handling (2010-07-06)' +`AI12-0277 The meaning of “accessibility level of the body of F” (0000-00-00)' -Two new packages @code{Ada.Wide_[Wide_]Characters.Handling} provide -classification functions for @code{Wide_Character} and -@code{Wide_Wide_Character}, as well as providing -case folding routines for @code{Wide_[Wide_]Character} and -@code{Wide_[Wide_]String}. +Clarify that the only time that an explicitly aliased formal parameter has different accessibility properties than an aliased part of a “normal” parameter is for the accessibility checking associated with a return statement. -RM References: A.03.05 (0) A.03.06 (0) +RM references: 3.10.02 (19.2/4) @end itemize -@geindex AI-0188 (Ada 2012 feature) +@geindex AI12-0278 (Ada 2022 feature) @itemize * @item -`AI-0188 Case expressions (2010-01-09)' +`AI12-0278 Implicit conversions of anonymous return types (0000-00-00)' + +If a call to a function with an anonymous-access-type result is converted to a named access type, it doesn’t matter whether the conversion is implicit or explicit. the AI fixes hole where the previous rules didn’t cover the implicit conversion case. + +RM references: 3.10.02 (10.3/3) +@end itemize -Case expressions are permitted. This allows use of constructs such as: +@geindex AI12-0279 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0279 Nonpreemptive dispatching needs more dispatching points (2020-04-17)' + +Ada 2022 defines a new aspect @cite{Yield} that can be specified in the declaration of a noninstance subprogram (including a generic formal subprogram), a generic subprogram, or an entry, to ensure that the associated subprogram has at least one task dispatching point during each invocation. + +RM references: D.02.01 (1.5/2) D.02.01 (7/5) +@end itemize + +@geindex AI12-0280-2 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0280-2 Making ‘Old more flexible (2020-07-24)' + +For Ada 2022, AI12-0280-2 relaxes Ada’s restrictions on ‘Old attribute +references whose attribute prefix does not statically name an entity. Previously, it was required that such an attribute reference must be unconditionally evaluated when the postcondition is evaluated; with the new rule, conditional evaluation is permitted if the relevant conditions can be evaluated upon entry to the subprogram with the same results as evaluation at the time of the postcondition’s evaluation. In this case, the ‘Old attribute prefix is evaluated conditionally (more specifically, the prefix is evaluated only if the result of that evaluation is going to be referenced later when the +postcondition is evaluated). + +RM references: 6.01.01 (20/3) 6.01.01 (21/3) 6.01.01 (22/3) 6.01.01 +(22.1/4) 6.01.01 (22.2/5) 6.01.01 (23/3) 6.01.01 (24/3) 6.01.01 +(26/4) 6.01.01 (27/5) 6.01.01 (39/5) +@end itemize + +@geindex AI12-0282 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0282 Atomic, Volatile, and Independent generic formal types (0000-00-00)' + +The AI specifies that the aspects @code{Atomic}, @code{Volatile}, @code{Independent}, @code{Atomic_Components}, @code{Volatile_Components}, and @code{Independent_Components} are specifiable for generic formal types. The actual type must have a matching specification. + +RM references: C.06 (6.1/3) C.06 (6.3/3) C.06 (6.5/3) C.06 (6.8/3) C.06 +(12/3) C.06 (12.1/3) C.06 (21/4) +@end itemize + +@geindex AI12-0285 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0285 Syntax for Stable_Properties aspects (0000-00-00)' + +The AI establishes the required named notation for a Stable_Properties aspect specification in order to avoid syntactic ambiguities. + +With the old syntax, an example like + +@example +type Ugh is ... + with Stable_Properties =\> Foo, Bar, Nonblocking, Pack; +@end example + +was problematic; @code{Nonblocking} and @code{Pack} are other aspects, while @code{Foo} and @code{Bar} are @code{Stable_Properties} functions. With the clarified syntax, the example above shall be written as: @example -X := (case Y is when 1 => 2, when 2 => 3, when others => 31) +type Ugh is ... + with Stable_Properties => (Foo, Bar), Nonblocking, Pack; @end example -RM References: 4.05.07 (0) 4.05.08 (0) 4.09 (12) 4.09 (33) +RM references: 7.03.04 (2/5) 7.03.04 (3/5) 7.03.04 (4/5) 7.03.04 (6/5) +7.03.04 (7/5) 7.03.04 (9/5) 7.03.04 (10/5) 7.03.04 (14/5) 13.01.01 (4/5) +@end itemize + +@geindex AI12-0287 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0287 Legality Rules for null exclusions in renaming are too fierce (2020-02-17)' + +The null exclusion legality rules for generic formal object matching and object renaming now only apply to generic formal objects with mode in out. + +RM references: 8.05.01 (4.4/2) 8.05.01 (4.5/2) 8.05.01 (4.6/2) 8.05.04 +(4.2/2) 12.04 (8.3/2) 12.04 (8.4/2) 12.04 (8.5/2) 12.04 (8.2/5) +12.06 (8.2/5) +@end itemize + +@geindex AI12-0289 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0289 Implicitly null excluding anonymous access types and conformance (2020-06-09)' + +AI12-0289 is implemented for Ada 2022, allowing safer use of access parameters +when the partial view of the designated type is untagged, but the full view is +tagged. + +RM references: 3.10 (26) +@end itemize + +@geindex AI12-0290 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0290 Restriction Pure_Barriers (2020-02-18)' + +The GNAT implementation of the Pure_Barriers restriction has +been updated to match the Ada RM’s definition as specified +in this AI. Some constructs that were accepted by the previous +implementation are now rejected, and vice versa. In +particular, the use of a component of a component of a +protected record in a barrier expression, as in “when +Some_Component.Another_Component =>”, formerly was (at least +in some cases) not considered to be a violation of the +Pure_Barriers restriction; that is no longer the case. + +RM references: D.07 (2) D.07 (10.10/4) +@end itemize + +@geindex AI12-0291 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0291 Jorvik Profile (2020-02-19)' + +The Jorvik profile is now implemented, as defined in this AI. +For Ada 2012 and earlier versions of Ada, Jorvik is an implementation-defined +profile whose definition matches its Ada 2022 definition. + +RM references: D.13 (0) D.13 (1/3) D.13 (4/3) D.13 (6/4) D.13 (9/3) D.13 +(10/3) D.13 (11/4) D.13 (12/4) +@end itemize + +@geindex AI12-0293 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0293 Add predefined FIFO_Streams packages (0000-00-00)' + +The AI adds @code{Ada.Streams.Storage} and its two subunits @code{Bounded} and @code{Unbounded}. + +RM references: 13.13.01 (1) 13.13.01 (9) 13.13.01 (9.1/1) +@end itemize + +@geindex AI12-0295 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0295 User-defined string (2020-04-07)' + +Compiler support is added for three new aspects (@code{Integer_Literal}, @code{Real_Literal}, and @code{String_Literal}) as described in AI12-0249 (for @code{Integer_Literal} and @code{Real_Literal}), AI12-0295 (for @code{String_Literal}), and in two follow-up AIs (AI12-0325 and AI12-0342). For pre-Ada 2022 versions of Ada, these are treated as implementation-defined aspects. Some implementation work remains, particularly in the interactions between these aspects and tagged types. + +RM references: 4.02 (6) 4.02 (10) 4.02 (11) 3.06.03 (1) 4.02.01 (0) 4.09 (26/3) +@end itemize + +@geindex AI12-0301 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0301 Predicates should be checked like constraints for types with Default_Value (2020-02-25)' + +This AI clarifies that predicate checks apply for objects that are initialized +by default and that are of a type that has any components whose subtypes specify @code{Default_Value} or @code{Default_Component_Value}. + +RM references: 3.02.04 (31/4) +@end itemize + +@geindex AI12-0304 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0304 Image attributes of language-defined types (2020-07-07)' + +According to this AI, @code{Put_Image} (and therefore @code{'Image}) is provided for +the containers and for unbounded strings. + +RM references: 4.10 (0) +@end itemize + +@geindex AI12-0306 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0306 Split null array aggregates from positional array aggregates (0000-00-00)' + +The AI clarifies the wording of the references RM paragraphs without introducing any language changes. + +RM references: 4.03.03 (2) 4.03.03 (3/2) 4.03.03 (9/5) 4.03.03 (26/5) +4.03.03 (26.1/5) 4.03.03 (33/3) 4.03.03 (38) 4.03.03 (39) 4.03.03 (42) +@end itemize + +@geindex AI12-0307 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0307 Resolution of aggregates (2020-08-13)' + +The proposed new syntax for aggregates in Ada 2022 uses square brackets as +delimiters, and in particular allows @code{[]} as a notation for empty array and container aggregates. This syntax is currently available as an experimental feature under the @code{-gnatX} flag. + +RM references: 4.03 (3/5) +@end itemize + +@geindex AI12-0309 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0309 Missing checks for pragma Suppress (0000-00-00)' + +The AI includes some previously overlooked run-time checks in the list of checks that are potentially suppressed via a pragma @code{Suppress}. For example, AI12-0251-1 adds a check that the number of chunks in a chunk_specification is not zero or negative. Clarify that suppressing @code{Program_Error_Check} suppresses that check too. + +RM references: 11.05 (10) 11.05 (19) 11.05 (20) 11.05 (22) 11.05 (24) +@end itemize + +@geindex AI12-0311 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0311 Suppressing client-side assertions for language-defined units (0000-00-00)' + +The AI defines some new assertion policies that can be given as arguments in a Suppress pragma (e.g., Calendar_Assertion_Check). GNAT recognizes and ignores those new policies, the checks are not implemented. + +RM references: 11.04.02 (23.5/5) 11.05 (23) 11.05 (26) +@end itemize + +@geindex AI12-0315 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0315 Image Attributes subclause improvements (0000-00-00)' + +Clarify that a named number or similar can be the prefix of an Image attribute reference. + +RM references: 4.10 (0) +@end itemize + +@geindex AI12-0318 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0318 No_IO should apply to Ada.Directories (2020-01-31)' + +The restriction No_IO now applies to and prevents the use of the +@code{Ada.Directories package}. + +RM references: H.04 (20/2) H.04 (24/3) +@end itemize + +@geindex AI12-0321 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0321 Support for Arithmetic Atomic Operations and Test and Set (0000-00-00)' + +The AI adds some predefined atomic operations, e.g. package System.`@w{`}Atomic_Operations.Test_And_Set`@w{`}. + +RM references: C.06.03 (0) C.06.04 (0) +@end itemize + +@geindex AI12-0325 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0325 Various issues with user-defined literals (2020-04-07)' + +Compiler support is added for three new aspects (@code{Integer_Literal}, @code{Real_Literal}, and @code{String_Literal}) as described in AI12-0249 (for @code{Integer_Literal} and @code{Real_Literal}), AI12-0295 (for @code{String_Literal}), and in two follow-up AIs (AI12-0325 and AI12-0342). For pre-Ada 2022 versions of Ada, these are treated as implementation-defined aspects. Some implementation work remains, particularly in the interactions between these aspects and tagged types. + +RM references: 4.02 (6) 4.02 (10) 4.02 (11) 4.02.01 (0) +@end itemize + +@geindex AI12-0329 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0329 Naming of FIFO_Streams packages (0000-00-00)' + +The AI changes the name of predefined package @code{Ada.Streams.FIFO_Streams} to @code{Ada.Streams.Storage}. + +RM references: 13.13.01 (9/5) 13.13.01 (9.1/5) +@end itemize + +@geindex AI12-0331 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0331 Order of finalization of a subpool (0000-00-00)' + +Clarify that when a subpool is being finalized, objects allocated from that subpool are finalized before (not after) they cease to exist (i.e. object’s storage has been reclaimed). + +RM references: 13.11.05 (5/3) 13.11.05 (6/3) 13.11.05 (7/3) 13.11.05 +(7.1/4) 13.11.05 (8/3) 13.11.05 (9/3) +@end itemize + +@geindex AI12-0333 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0333 Predicate checks on out parameters (0000-00-00)' + +If a view conversion is passed as an actual parameter corresponding to an out-mode formal parameter, and if the subtype of the formal parameter has a predicate, then no predicate check associated with the conversion is performed. + +RM references: 3.02.04 (31/5) 4.06 (51/4) 6.04.01 (14) +@end itemize + +@geindex AI12-0335 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0335 Dynamic accessibility check needed for some requeue targets (0000-00-00)' + +Define a new runtime accessibility check for a corner case involving requeue statements. + +RM references: 9.05.04 (7/4) +@end itemize + +@geindex AI12-0336 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0336 Meaning of Time_Offset (0000-00-00)' + +The AI introduces changes to the predefined package @code{Ada.Calendar.Time_Zones}. + +RM references: 9.06.01 (6/2) 9.06.01 (35/2) 9.06.01 (40/2) 9.06.01 (41/2) +9.06.01 (42/3) 9.06.01 (90/2) 9.06.01 (91/2) +@end itemize + +@geindex AI12-0337 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0337 Simple_Name(“/”) in Ada.Directories (0000-00-00)' + +Clarify behavior of subprograms in the predefined package @code{Ada.Directories}. In particular, Simple_Name (“/”) should return “/” on Unix-like systems. + +RM references: A.16 (47/2) A.16 (74/2) A.16 (82/3) +@end itemize + +@geindex AI12-0338 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0338 Type invariant checking and incomplete types (0000-00-00)' + +Clarify that type invariants for type T are not checked for incomplete types whose completion is not available, even if that completion has components of type T. + +RM references: 7.03.02 (20/5) +@end itemize + +@geindex AI12-0339 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0339 Empty function for Container aggregates (2020-08-06)' + +To provide uniform support for container aggregates, all standard container +libraries have been enhanced with a function Empty, to be used when initializing an aggregate prior to inserting the specified elements in the object being constructed. All products have been updated to remove the ambiguities that may have arisen from previous uses of entities named Empty in our sources, and the expansion of container aggregates uses Empty wherever needed. + +RM references: A.18.02 (8/5) A.18.02 (12.3/5) A.18.02 (78.2/5) A.18.02 +(98.6/5) A.18.03 (6/5) A.18.03 (10.2/5) A.18.03 (50.2/5) A.18.05 +(3/5) A.18.05 (7.2/5) A.18.05 (37.3/5) A.18.05 (46/2) A.18.06 +(4/5) A.18.06 (8.2/5) A.18.06 (51.4/5) A.18.08 (3/5) A.18.08 +(8.1/5) A.18.08 (59.2/5) A.18.08 (68/2) A.18.09 (4/5) A.18.09 +(9.1/5) A.18.09 (74.2/5) A.18.10 (15.2/5) A.18.18 (8.1/5) A.18.19 +(6.1/5) A.18.20 (6/3) A.18.21 (6/3) A.18.22 (6/3) A.18.23 (6/3) +A.18.24 (6/3) A.18.25 (8/3) +@end itemize + +@geindex AI12-0340 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0340 Put_Image should use a Text_Buffer (0000-00-00)' + +Add a new predefined package Ada.Strings.Text_Buffers (along with child units) and change the definition of Put_Image attribute to refer to it. + +RM references: A.04.12 (0) 4.10 (3.1/5) 4.10 (3.2/5) 4.10 (6/5) 4.10 +(25.2/5) 4.10 (28/5) 4.10 (31/5) 4.10 (41/5) H.04 (23.2/5) H.04 (23.11/5) +@end itemize + +@geindex AI12-0342 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0342 Various issues with user-defined literals (part 2) (2020-04-07)' + +Compiler support is added for three new aspects (@code{Integer_Literal}, @code{Real_Literal}, and @code{String_Literal}) as described in AI12-0249 (for @code{Integer_Literal} and @code{Real_Literal}), AI12-0295 (for @code{String_Literal}), and in two follow-up AIs (AI12-0325 and AI12-0342). For pre-Ada 2022 versions of Ada, these are treated as implementation-defined aspects. Some implementation work remains, particularly in the interactions between these aspects and tagged types. + +RM references: 4.02.01 (0) 3.09.02 (1/2) 6.03.01 (22) +@end itemize + +@geindex AI12-0343 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0343 Return Statement Checks (2020-04-02)' + +This binding interpretation has been implemented and the accessibility, +predicate, and tag checks prescribed by RM 6.5 are now performed at the appropriate points, as required by this AI. + +RM references: 6.05 (5.12/5) 6.05 (8/4) 6.05 (8.1/3) 6.05 (21/3) +@end itemize + +@geindex AI12-0345 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0345 Dynamic accessibility of explicitly aliased parameters (0000-00-00)' + +Further clarify (after AI12-0277) accessibility rules for explicitly aliased parameters. + +RM references: 3.10.02 (5) 3.10.02 (7/4) 3.10.02 (10.5/3) 3.10.02 (13.4/4) +3.10.02 (19.2/5) 3.10.02 (21) +@end itemize + +@geindex AI12-0350 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0350 Swap for Indefinite_Holders (0000-00-00)' + +Add a @code{Swap} procedure to the predefined package +@code{Ada.Containers.Indefinite_Holders}. The AI also contains implementation advice for @code{Ada.Containers.Bounded_Indefinite_Holders}, a package that is not implemented by GNAT. + +RM references: A.18.18 (22/5) A.18.18 (67/5) A.18.18 (73/3) A.18.32 (13/5) +@end itemize + +@geindex AI12-0351 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0351 Matching for actuals for formal derived types (2020-04-03)' + +This binding interpretation requires the compiler to checks +that an actual subtype in a generic parameter association of an instantiation is statically compatible (even when the actual is unconstrained) with the ancestor of an associated nondiscriminated generic formal derived type. + +RM references: 12.05.01 (7) 12.05.01 (8) +@end itemize + +@geindex AI12-0352 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0352 Early derivation and equality of untagged types (2020-07-09)' + +AI12-0352 clarifies that declaring a user-defined primitive equality operation for a record type T is illegal if it occurs after a type has been derived from T. + +RM references: 4.05.02 (9.8/4) +@end itemize + +@geindex AI12-0356 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0356 Root_Storage_Pool_With_Subpools should have Preelaborable_Initialization (0000-00-00)' + +Add Preelaborable_Initialization pragmas for predefined types @code{Root_Storage_Pool_With_Subpools} and @code{Root_Subpool}. + +RM references: 13.11.04 (4/3) 13.11.04 (5/3) +@end itemize + +@geindex AI12-0363 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0363 Fixes for Atomic and Volatile (2020-09-08)' + +This amendment has been implemented under the @code{-gnat2022} switch and the compiler now supports the @code{Full_Access_Only} aspect, which is mostly equivalent to GNAT’s @code{Volatile_Full_Access}. + +RM references: 3.10.02 (26/3) 9.10 (1/5) C.06 (6.4/3) C.06 (6.10/3) C.06 +(8.1/4) C.06 (12/5) C.06 (12.1/5) C.06 (13.3/5) C.06 (19.1/5) +@end itemize + +@geindex AI12-0364 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0364 Add a modular atomic arithmetic package (0000-00-00)' + +Generalize support for atomic integer operations to extend to modular types. Add new predefined generic package, +@code{System.Atomic_Operations.Modular_Arithmetic}. + +RM references: C.06.05 (0) C.06.04 (1/5) C.06.04 (2/5) C.06.04 (3/5) +C.06.04 (9/5) +@end itemize + +@geindex AI12-0366 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0366 Changes to Big_Integer and Big_Real (0000-00-00)' + +Simplify @code{Big_Integer `@w{`}and `@w{`}Big_Real} specs by eliminating explicit support for creating “invalid” values. No more +@code{Optional_Big_[Integer,Real]} types. + +RM references: A.05.06 (0) A.05.07 (0) +@end itemize + +@geindex AI12-0367 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0367 Glitches in aspect specifications (0000-00-00)' + +The AI clarifies a few wording omissions. For example, a specified Small value for a fixed point type has to be positive. + +RM references: 3.05.09 (8/2) 3.05.10 (2/1) 13.01 (9.1/5) 13.14 (10) +@end itemize + +@geindex AI12-0368 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0368 Declare expressions can be static (2020-05-30)' + +AI12-0368 allows declare expressions to be static in Ada 2022. + +RM references: 4.09 (8) 4.09 (12.1/3) 4.09 (17) 6.01.01 (24.2/5) 6.01.01 +(24.3/5) 6.01.01 (24.4/5) 6.01.01 (24.5/5) C.04 (9) @end itemize -@geindex AI-0189 (Ada 2012 feature) +@geindex AI12-0369 (Ada 2022 feature) @itemize * @item -`AI-0189 No_Allocators_After_Elaboration (2010-01-23)' +`AI12-0369 Relaxing barrier restrictions (2020-03-25)' -This AI introduces a new restriction @code{No_Allocators_After_Elaboration}, -which says that no dynamic allocation will occur once elaboration is -completed. -In general this requires a run-time check, which is not required, and which -GNAT does not attempt. But the static cases of allocators in a task body or -in the body of the main program are detected and flagged at compile or bind -time. +The definitions of the @code{Simple_Barriers} and @code{Pure_Barriers} restrictions were modified by this AI, replacing uses of “statically denotes” with “statically names”. This means that in many cases (but not all) a barrier expression that references a subcomponent of a component of the protected type while subject to either of the two restrictions is now allowed; with the previous restriction definitions, such a barrier expression would not have been legal. -RM References: D.07 (19.1/2) H.04 (23.3/2) +RM references: D.07 (1.3/5) D.07 (10.12/5) @end itemize -@geindex AI-0190 (Ada 2012 feature) +@geindex AI12-0372 (Ada 2022 feature) @itemize * @item -`AI-0190 pragma Default_Storage_Pool (2010-09-15)' +`AI12-0372 Static accessibility of “master of the call” (0000-00-00)' -This AI introduces a new pragma @code{Default_Storage_Pool}, which can be -used to control storage pools globally. -In particular, you can force every access -type that is used for allocation (`new') to have an explicit storage pool, -or you can declare a pool globally to be used for all access types that lack -an explicit one. +Add an extra compile-time accessibility check for explicitly aliased parameters needed to prevent dangling references. -RM References: D.07 (8) +RM references: 3.10.02 (10.5/5) 3.10.02 (19.3/4) 6.04.01 (6.4/3) @end itemize -@geindex AI-0193 (Ada 2012 feature) +@geindex AI12-0373 (Ada 2022 feature) @itemize * @item -`AI-0193 Alignment of allocators (2010-09-16)' +`AI12-0373 Bunch of fixes (0000-00-00)' -This AI introduces a new attribute @code{Max_Alignment_For_Allocation}, -analogous to @code{Max_Size_In_Storage_Elements}, but for alignment instead -of size. +Small clarifications to various RM entries with minor impact on compiler implementation. -RM References: 13.11 (16) 13.11 (21) 13.11.01 (0) 13.11.01 (1) -13.11.01 (2) 13.11.01 (3) +RM references: 3.01 (1) 4.02 (4) 4.02 (8/2) 4.02.01 (3/5) 4.02.01 (4/5) +4.02.01 (5/5) 4.09 (17.3/5) 6.01.01 (41/5) 8.05.04 (4/3) 13.01.01 +(4/3) 13.01.01 (11/3) 13.14 (3/5) @end itemize -@geindex AI-0194 (Ada 2012 feature) +@geindex AI12-0376 (Ada 2022 feature) @itemize * @item -`AI-0194 Value of Stream_Size attribute (0000-00-00)' +`AI12-0376 Representation changes finally allowed for untagged derived types (0000-00-00)' -The @code{Stream_Size} attribute returns the default number of bits in the -stream representation of the given type. -This value is not affected by the presence -of stream subprogram attributes for the type. GNAT has always implemented -this interpretation. +A change of representation for a derived type is allowed in some previously-illegal cases where a change of representation is required to implement a call to a derived subprogram. -RM References: 13.13.02 (1.2/2) +RM references: 13.01 (10/4) @end itemize -@geindex AI-0195 (Ada 2012 feature) +@geindex AI12-0377 (Ada 2022 feature) @itemize * @item -`AI-0195 Invalid value handling is implementation defined (2010-07-03)' +`AI12-0377 View conversions and out parameters of types with Default_Value revisited (2020-06-17)' -The handling of invalid values is now designated to be implementation -defined. This is a documentation change only, requiring Annex M in the GNAT -Reference Manual to document this handling. -In GNAT, checks for invalid values are made -only when necessary to avoid erroneous behavior. Operations like assignments -which cannot cause erroneous behavior ignore the possibility of invalid -values and do not do a check. The date given above applies only to the -documentation change, this behavior has always been implemented by GNAT. +This AI clarifies that an actual of an out parameter that is a view conversion +is illegal if either the target or operand type has Default_Value specified while the other does not. -RM References: 13.09.01 (10) +RM references: 6.04.01 (5.1/4) 6.04.01 (5.2/4) 6.04.01 (5.3/4) 6.04.01 +(13.1/4) 6.04.01 (13.2/4) 6.04.01 (13.3/4) 6.04.01 (13.4/4) 6.04.01 (15/3) @end itemize -@geindex AI-0196 (Ada 2012 feature) +@geindex AI12-0381 (Ada 2022 feature) @itemize * @item -`AI-0196 Null exclusion tests for out parameters (0000-00-00)' +`AI12-0381 Tag of a delta aggregate (0000-00-00)' -Null exclusion checks are not made for @code{out} parameters when -evaluating the actual parameters. GNAT has never generated these checks. +In the case of a delta aggregate of a specific tagged type, the tag of the aggregate comes from the specific type (as opposed to somehow from the base object). -RM References: 6.04.01 (13) +RM references: 4.03.04 (14/5) @end itemize -@geindex AI-0198 (Ada 2012 feature) +@geindex AI12-0382 (Ada 2022 feature) @itemize * @item -`AI-0198 Inheriting abstract operators (0000-00-00)' +`AI12-0382 Loosen type-invariant overriding requirement of AI12-0042-1 (0000-00-00)' -This AI resolves a conflict between two rules involving inherited abstract -operations and predefined operators. If a derived numeric type inherits -an abstract operator, it overrides the predefined one. This interpretation -was always the one implemented in GNAT. +The AI relaxes some corner-case legality rules about type invariants that were added by AI12-0042-1. -RM References: 3.09.03 (4/3) +RM references: 7.3.2(6.1/4) @end itemize -@geindex AI-0199 (Ada 2012 feature) +@geindex AI12-0383 (Ada 2022 feature) @itemize * @item -`AI-0199 Aggregate with anonymous access components (2010-07-14)' +`AI12-0383 Renaming values (2020-06-17)' -A choice list in a record aggregate can include several components of -(distinct) anonymous access types as long as they have matching designated -subtypes. +This AI allow names that denote values rather than objects to nevertheless be +renamed using an object renaming. -RM References: 4.03.01 (16) +RM references: 8.05.01 (1) 8.05.01 (4) 8.05.01 (4.1/2) 8.05.01 (6/2) 8.05.01 (8) @end itemize -@geindex AI-0200 (Ada 2012 feature) +@geindex AI12-0384-2 (Ada 2022 feature) @itemize * @item -`AI-0200 Mismatches in formal package declarations (0000-00-00)' +`AI12-0384-2 Fixups for Put_Image and Text_Buffers (2021-04-29)' -This AI plugs a gap in the RM which appeared to allow some obviously intended -illegal instantiations. GNAT has never allowed these instantiations. +In GNAT’s initial implementation of the Ada 2022 @code{Put_Image} aspect and +attribute, buffering was performed using a GNAT-defined package, +@code{Ada.Strings.Text_Output}. Ada 2022 requires a different package, Ada.`@w{`}Strings.Text_Buffers`@w{`}, for this role, and that package is now provided, and the older package is eliminated. -RM References: 12.07 (16) +RM references: 4.10 (0) A.04.12 (0) @end itemize -@geindex AI-0201 (Ada 2012 feature) +@geindex AI12-0385 (Ada 2022 feature) @itemize * @item -`AI-0201 Independence of atomic object components (2010-07-22)' +`AI12-0385 Predefined shifts and rotates should be static (0000-00-00)' -If an Atomic object has a pragma @code{Pack} or a @code{Component_Size} -attribute, then individual components may not be addressable by independent -tasks. However, if the representation clause has no effect (is confirming), -then independence is not compromised. Furthermore, in GNAT, specification of -other appropriately addressable component sizes (e.g. 16 for 8-bit -characters) also preserves independence. GNAT now gives very clear warnings -both for the declaration of such a type, and for any assignment to its components. +This AI allows Shift and Rotate operations in static expressions. GNAT implements this AI partially. -RM References: 9.10 (1/3) C.06 (22/2) C.06 (23/2) +RM references: 4.09 (20) @end itemize -@geindex AI-0203 (Ada 2012 feature) +@geindex AI12-0389 (Ada 2022 feature) @itemize * @item -`AI-0203 Extended return cannot be abstract (0000-00-00)' +`AI12-0389 Ignoring unrecognized aspects (2020-10-08)' -A return_subtype_indication cannot denote an abstract subtype. GNAT has never -permitted such usage. +Two new restrictions, @code{No_Unrecognized_Aspects} and @code{No_Unrecognized_Pragmas}, are available to make the compiler emit error messages on unrecognized pragmas and aspects. -RM References: 3.09.03 (8/3) +RM references: 13.01.01 (38/3) 13.12.01 (6.3/3) @end itemize -@geindex AI-0205 (Ada 2012 feature) +@geindex AI12-0394 (Ada 2022 feature) @itemize * @item -`AI-0205 Extended return declares visible name (0000-00-00)' +`AI12-0394 Named Numbers and User-Defined Numeric Literals (2020-10-05)' -This AI corrects a simple omission in the RM. Return objects have always -been visible within an extended return statement. +Ada 2022 allows using integer named numbers with types that have an +@code{Integer_Literal} aspect. Similarly, real named numbers may now be used with types that have a @code{Real_Literal} aspect with an overloading that takes two strings, to be used in particular with +@code{Ada.Numerics.Big_Numbers.Big_Reals}. -RM References: 8.03 (17) +RM references: 3.03.02 (3) 4.02.01 (4/5) 4.02.01 (8/5) 4.02.01 (12/5) +4.02.01 (13/5) 4.09 (5) @end itemize -@geindex AI-0206 (Ada 2012 feature) +@geindex AI12-0395 (Ada 2022 feature) @itemize * @item -`AI-0206 Remote types packages and preelaborate (2010-07-24)' +`AI12-0395 Allow aspect_specifications on formal parameters (0000-00-00)' -Remote types packages are now allowed to depend on preelaborated packages. -This was formerly considered illegal. +Change syntax rules to allow aspect_specifications on formal parameters, if an implementation if an implementation wants to define one. Currently, GNAT doesn’t define any such aspect_specifications. -RM References: E.02.02 (6) +RM references: 6.01 (15/3) @end itemize -@geindex AI-0207 (Ada 2012 feature) +@geindex AI12-0397 (Ada 2022 feature) @itemize * @item -`AI-0207 Mode conformance and access constant (0000-00-00)' +`AI12-0397 Default_Initial_Condition applied to derived type (2020-12-09)' -This AI confirms that access_to_constant indication must match for mode -conformance. This was implemented in GNAT when the qualifier was originally -introduced in Ada 2005. +The compiler now implements the rules for resolving @code{Default_Initial_Condition} +expressions that involve references to the current instance of types with the aspect, as specified by this AI. The type of the current instance is defined to be like a formal derived type, so for a derived type that inherits the aspect, a call passing the current instance to a primitive means that the call will resolve to invoke the corresponding primitive of the descendant type. This also now permits calls to abstract primitives to occur within the aspect expression of an abstract type. -RM References: 6.03.01 (16/2) +RM references: 7.03.03 (3/5) 7.03.03 (6/5) 7.03.03 (8/5) @end itemize -@geindex AI-0208 (Ada 2012 feature) +@geindex AI12-0398 (Ada 2022 feature) @itemize * @item -`AI-0208 Characteristics of incomplete views (0000-00-00)' +`AI12-0398 Most declarations should have aspect specifications (2020-11-19)' -The wording in the Ada 2005 RM concerning characteristics of incomplete views -was incorrect and implied that some programs intended to be legal were now -illegal. GNAT had never considered such programs illegal, so it has always -implemented the intent of this AI. +It is now possible to specify aspects for discriminant specifications, extended return object declarations, and entry index specifications. This is an extension added for Ada 2022 by this AI. -RM References: 3.10.01 (2.4/2) 3.10.01 (2.6/2) +RM references: 3.07 (5/2) 6.03.01 (25) 6.05 (2.1/3) 9.05.02 (8) @end itemize -@geindex AI-0210 (Ada 2012 feature) +@geindex AI12-0399 (Ada 2022 feature) @itemize * @item -`AI-0210 Correct Timing_Events metric (0000-00-00)' +`AI12-0399 Aspect specification for Preelaborable_Initialization (0000-00-00)' -This is a documentation only issue regarding wording of metric requirements, -that does not affect the implementation of the compiler. +Semantics-preserving presentation change. Replace @code{Preelaborable_Initialization} pragmas with equivalent aspect specs in the listed predefined packages. GNAT follows the guidance of this AI partially. -RM References: D.15 (24/2) +RM references: 9.05 (53/5) 3.09 (6/5) 7.06 (5/2) 7.06 (7/2) 11.04.01 (2/5) +11.04.01 (3/2) 13.11 (6/2) 13.11.04 (4/5) 13.11.04 (5/5) 13.13.01 +(3/2) A.04.02 (4/2) A.04.02 (20/2) A.04.05 (4/2) A.04.07 (4/2) +A.04.07 (20/2) A.04.08 (4/2) A.04.08 (20/2) A.12.01 (5/4) A.18.02 +(8/5) A.18.02 (9/2) A.18.02 (79.2/5) A.18.02 (79.3/5) A.18.03 +(6/5) A.18.03 (7/2) A.18.03 (50.2/5) A.18.03 (50.3/5) A.18.05 +(3/5) A.18.05 (4/2) A.18.05 (37.3/5) A.18.05 (37.4/5) A.18.06 +(4/5) A.18.06 (5/2) A.18.06 (51.4/5) A.18.06 (51.5/5) A.18.08 +(3/5) A.18.08 (4/2) A.18.08 (58.2/5) A.18.08 (58.3/5) A.18.09 +(4/5) A.18.09 (5/2) A.18.09 (74.2/5) A.18.09 (74.3/5) A.18.10 +(8/5) A.18.10 (9/3) A.18.10 (70.2/5) A.18.10 (70.3/5) A.18.18 +(6/5) B.03.01 (5/2) C.07.01 (2/5) G.01.01 (4/2) @end itemize -@geindex AI-0211 (Ada 2012 feature) +@geindex AI12-0400 (Ada 2022 feature) @itemize * @item -`AI-0211 No_Relative_Delays forbids Set_Handler use (2010-07-09)' +`AI12-0400 Ambiguities associated with Vector Append and container aggregates (0000-00-00)' -The restriction @code{No_Relative_Delays} forbids any calls to the subprogram -@code{Ada.Real_Time.Timing_Events.Set_Handler}. +Change the names of subprograms in the predefined Vector containers from @code{Append} to @code{Append_Vector} and from @code{Prepend} to @code{Prepend_Vector} in order to resolve some ambiguity problems. GNAT adds the subprograms with new names but also keeps the old ones for backward compatibility. -RM References: D.07 (5) D.07 (10/2) D.07 (10.4/2) D.07 (10.7/2) +RM references: A.18.02 (8/5) A.18.02 (36/5) A.18.02 (37/5) A.18.02 (38/5) +A.18.02 (44/5) A.18.02 (46/5) A.18.02 (47/5) A.18.02 (58/5) +A.18.02 (79.2/5) A.18.02 (150/5) A.18.02 (151/5) A.18.02 (152/5) +A.18.02 (153/5) A.18.02 (154/5) A.18.02 (155/5) A.18.02 (156/5) +A.18.02 (168/5) A.18.02 (169/5) A.18.02 (172/5) A.18.02 (173/5) +A.18.02 (174/5) A.18.02 (175.1/5) A.18.03 (23/5) A.18.03 (23.1/5) +A.18.03 (58.2/5) A.18.03 (96/5) A.18.03 (97.1/5) @end itemize -@geindex AI-0214 (Ada 2012 feature) +@geindex AI12-0401 (Ada 2022 feature) @itemize * @item -`AI-0214 Defaulted discriminants for limited tagged (2010-10-01)' +`AI12-0401 Renaming of qualified expression of variable (2020-10-31)' -Ada 2012 relaxes the restriction that forbids discriminants of tagged types -to have default expressions by allowing them when the type is limited. It -is often useful to define a default value for a discriminant even though -it can’t be changed by assignment. +Ada 2022 AI12-0401 restricts renaming of a qualified expression to cases where +the operand is a constant, or the target subtype statically matches the nominal subtype of the operand, or is unconstrained with no predicates, to prevent setting variables to values outside their range or constraints. -RM References: 3.07 (9.1/2) 3.07.02 (3) +RM references: 3.03 (23.2/3) 8.05.01 (4.7/5) 8.05.01 (5/3) @end itemize -@geindex AI-0216 (Ada 2012 feature) +@geindex AI12-0409 (Ada 2022 feature) @itemize * @item -`AI-0216 No_Task_Hierarchy forbids local tasks (0000-00-00)' +`AI12-0409 Preelaborable_Initialization and bounded containers (2021-06-23)' + +As defined by this AI, the @code{Preelaborable_Initializatio} aspect now has a +corresponding attribute of the same name. Types declared within a generic package specification are permitted to specify the expression of a @code{Prelaborable_Initialization} aspect by including one or more references to the attribute applied to a formal private or formal derived type conjoined by @code{and} operators. This permits the full type of a private type with such an aspect expression to have components of the named formal types, and such a type will have preelaborable initialization in an instance when the +actual types for all referenced formal types have preelaborable initialization. + +RM references: 10.02.01 (4.1/2) 10.02.01 (4.2/2) 10.02.01 (11.1/2) +10.02.01 (11.2/2) 10.02.01 (11.6/2) 10.02.01 (11.7/2) 10.02.01 +(11.8/2) 13.01 (11/3) A.18.19 (5/5) A.18.20 (5/5) A.18.21 (5/5) +A.18.22 (5/5) A.18.23 (5/5) A.18.24 (5/5) A.18.25 (5/5) A.18.32 +(6/5) J.15.14 (0) +@end itemize + +@geindex AI12-0411 (Ada 2022 feature) -It is clearly the intention that @code{No_Task_Hierarchy} is intended to -forbid tasks declared locally within subprograms, or functions returning task -objects, and that is the implementation that GNAT has always provided. -However the language in the RM was not sufficiently clear on this point. -Thus this is a documentation change in the RM only. -RM References: D.07 (3/3) +@itemize * + +@item +`AI12-0411 Add “bool” to Interfaces.C (0000-00-00)' + +RM references: B.03 (13) B.03 (43/2) B.03 (65.1/4) @end itemize -@geindex AI-0219 (Ada 2012 feature) +@geindex AI12-0412 (Ada 2022 feature) @itemize * @item -`AI-0219 Pure permissions and limited parameters (2010-05-25)' +`AI12-0412 Abstract Pre/Post’Class on primitive of abstract type (2021-05-19)' -This AI refines the rules for the cases with limited parameters which do not -allow the implementations to omit ‘redundant’. GNAT now properly conforms -to the requirements of this binding interpretation. +In Ada 2022, by AI12-0412, it’s legal to specify Pre’Class and Post’Class +aspects on nonabstract primitive subprograms of an abstract type, but if the +expression of such an aspect is nonstatic, then it’s illegal to make a nondispatching call to such a primitive, to apply @code{'Access} to it, or to pass such a primitive as an actual subprogram for a concrete formal subprogram in a generic instantiation. -RM References: 10.02.01 (18/2) +RM references: 6.01.01 (18.2/4) @end itemize -@geindex AI-0220 (Ada 2012 feature) +@geindex AI12-0413 (Ada 2022 feature) @itemize * @item -`AI-0220 Needed components for aggregates (0000-00-00)' +`AI12-0413 Reemergence of “=” when defined to be abstract (0000-00-00)' -This AI addresses a wording problem in the RM that appears to permit some -complex cases of aggregates with nonstatic discriminants. GNAT has always -implemented the intended semantics. +The AI clarifies rules about operator reemergence in instances, and nondispatching calls to abstract subprograms. -RM References: 4.03.01 (17) +RM references: 3.09.03 (7) 4.05.02 (14.1/3) 4.05.02 (24.1/3) 12.05 (8/3) @end itemize -@node GNAT language extensions,Security Hardening Features,Implementation of Ada 2012 Features,Top -@anchor{gnat_rm/gnat_language_extensions doc}@anchor{442}@anchor{gnat_rm/gnat_language_extensions gnat-language-extensions}@anchor{443}@anchor{gnat_rm/gnat_language_extensions id1}@anchor{444} +@geindex AI12-0423 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0423 Aspect inheritance fixups (0000-00-00)' + +Clarify that the No_Return aspect behaves as one would expect for an inherited subprogram and that inheritance works as one would expect for a multi-part aspect whose value is specified via an aggregate (e.g., the Aggregate aspect). + +RM references: 6.05.01 (3.3/3) 13.01 (15.7/5) 13.01 (15.8/5) +@end itemize + +@geindex AI12-0432 (Ada 2022 feature) + + +@itemize * + +@item +`AI12-0432 View conversions of assignments and predicate checks (2021-05-05)' + +When a predicate applies to a tagged type, a view conversion to that type +normally requires a predicate check. However, as specified by AI12-0432, when the view conversion appears as the target of an assignment, a predicate check is not applied to the object in the conversion. + +RM references: 3.02.04 (31/5) 4.06 (51.1/5) +@end itemize + +@node GNAT language extensions,Security Hardening Features,Implementation of Ada 2022 Features,Top +@anchor{gnat_rm/gnat_language_extensions doc}@anchor{445}@anchor{gnat_rm/gnat_language_extensions gnat-language-extensions}@anchor{446}@anchor{gnat_rm/gnat_language_extensions id1}@anchor{447} @chapter GNAT language extensions @@ -29126,7 +30422,7 @@ These features might be removed or heavily modified at any time. @end menu @node How to activate the extended GNAT Ada superset,Curated Extensions,,GNAT language extensions -@anchor{gnat_rm/gnat_language_extensions how-to-activate-the-extended-gnat-ada-superset}@anchor{445} +@anchor{gnat_rm/gnat_language_extensions how-to-activate-the-extended-gnat-ada-superset}@anchor{448} @section How to activate the extended GNAT Ada superset @@ -29167,7 +30463,7 @@ for use in playground experiments. @end cartouche @node Curated Extensions,Experimental Language Extensions,How to activate the extended GNAT Ada superset,GNAT language extensions -@anchor{gnat_rm/gnat_language_extensions curated-extensions}@anchor{446}@anchor{gnat_rm/gnat_language_extensions curated-language-extensions}@anchor{6a} +@anchor{gnat_rm/gnat_language_extensions curated-extensions}@anchor{449}@anchor{gnat_rm/gnat_language_extensions curated-language-extensions}@anchor{6a} @section Curated Extensions @@ -29188,7 +30484,7 @@ Features activated via @code{-gnatX} or @end menu @node Local Declarations Without Block,Deep delta Aggregates,,Curated Extensions -@anchor{gnat_rm/gnat_language_extensions local-declarations-without-block}@anchor{447} +@anchor{gnat_rm/gnat_language_extensions local-declarations-without-block}@anchor{44a} @subsection Local Declarations Without Block @@ -29281,7 +30577,7 @@ And as such the second `@w{`}A`@w{`} declaration is hiding the first one. @end cartouche @node Deep delta Aggregates,Fixed lower bounds for array types and subtypes,Local Declarations Without Block,Curated Extensions -@anchor{gnat_rm/gnat_language_extensions deep-delta-aggregates}@anchor{448} +@anchor{gnat_rm/gnat_language_extensions deep-delta-aggregates}@anchor{44b} @subsection Deep delta Aggregates @@ -29303,7 +30599,7 @@ The syntax of delta aggregates in the extended version is the following: @end menu @node Syntax,Legality Rules,,Deep delta Aggregates -@anchor{gnat_rm/gnat_language_extensions syntax}@anchor{449} +@anchor{gnat_rm/gnat_language_extensions syntax}@anchor{44c} @subsubsection Syntax @@ -29349,7 +30645,7 @@ array_subcomponent_choice ::= @end example @node Legality Rules,Dynamic Semantics,Syntax,Deep delta Aggregates -@anchor{gnat_rm/gnat_language_extensions legality-rules}@anchor{44a} +@anchor{gnat_rm/gnat_language_extensions legality-rules}@anchor{44d} @subsubsection Legality Rules @@ -29386,7 +30682,7 @@ the object denoted by the base_expression, prior to any update.] @end enumerate @node Dynamic Semantics,Examples,Legality Rules,Deep delta Aggregates -@anchor{gnat_rm/gnat_language_extensions dynamic-semantics}@anchor{44b} +@anchor{gnat_rm/gnat_language_extensions dynamic-semantics}@anchor{44e} @subsubsection Dynamic Semantics @@ -29443,7 +30739,7 @@ and assigned to the corresponding subcomponent of the anonymous object. @end itemize @node Examples,,Dynamic Semantics,Deep delta Aggregates -@anchor{gnat_rm/gnat_language_extensions examples}@anchor{44c} +@anchor{gnat_rm/gnat_language_extensions examples}@anchor{44f} @subsubsection Examples @@ -29471,7 +30767,7 @@ end; @end example @node Fixed lower bounds for array types and subtypes,Prefixed-view notation for calls to primitive subprograms of untagged types,Deep delta Aggregates,Curated Extensions -@anchor{gnat_rm/gnat_language_extensions fixed-lower-bounds-for-array-types-and-subtypes}@anchor{44d} +@anchor{gnat_rm/gnat_language_extensions fixed-lower-bounds-for-array-types-and-subtypes}@anchor{450} @subsection Fixed lower bounds for array types and subtypes @@ -29522,7 +30818,7 @@ lower bound of unconstrained array formals when the formal’s subtype has index ranges with static fixed lower bounds. @node Prefixed-view notation for calls to primitive subprograms of untagged types,Expression defaults for generic formal functions,Fixed lower bounds for array types and subtypes,Curated Extensions -@anchor{gnat_rm/gnat_language_extensions prefixed-view-notation-for-calls-to-primitive-subprograms-of-untagged-types}@anchor{44e} +@anchor{gnat_rm/gnat_language_extensions prefixed-view-notation-for-calls-to-primitive-subprograms-of-untagged-types}@anchor{451} @subsection Prefixed-view notation for calls to primitive subprograms of untagged types @@ -29572,7 +30868,7 @@ pragma Assert (V.Nth_Element(1) = 42); @end example @node Expression defaults for generic formal functions,String interpolation,Prefixed-view notation for calls to primitive subprograms of untagged types,Curated Extensions -@anchor{gnat_rm/gnat_language_extensions expression-defaults-for-generic-formal-functions}@anchor{44f} +@anchor{gnat_rm/gnat_language_extensions expression-defaults-for-generic-formal-functions}@anchor{452} @subsection Expression defaults for generic formal functions @@ -29603,7 +30899,7 @@ If the default is used (i.e. there is no actual corresponding to Copy), then calls to Copy in the instance will simply return Item. @node String interpolation,Constrained attribute for generic objects,Expression defaults for generic formal functions,Curated Extensions -@anchor{gnat_rm/gnat_language_extensions string-interpolation}@anchor{450} +@anchor{gnat_rm/gnat_language_extensions string-interpolation}@anchor{453} @subsection String interpolation @@ -29770,7 +31066,7 @@ a double quote is " and an open brace is @{ @end example @node Constrained attribute for generic objects,Static aspect on intrinsic functions,String interpolation,Curated Extensions -@anchor{gnat_rm/gnat_language_extensions constrained-attribute-for-generic-objects}@anchor{451} +@anchor{gnat_rm/gnat_language_extensions constrained-attribute-for-generic-objects}@anchor{454} @subsection Constrained attribute for generic objects @@ -29778,7 +31074,7 @@ The @code{Constrained} attribute is permitted for objects of generic types. The result indicates whether the corresponding actual is constrained. @node Static aspect on intrinsic functions,First Controlling Parameter,Constrained attribute for generic objects,Curated Extensions -@anchor{gnat_rm/gnat_language_extensions static-aspect-on-intrinsic-functions}@anchor{452} +@anchor{gnat_rm/gnat_language_extensions static-aspect-on-intrinsic-functions}@anchor{455} @subsection @code{Static} aspect on intrinsic functions @@ -29787,7 +31083,7 @@ and the compiler will evaluate some of these intrinsics statically, in particular the @code{Shift_Left} and @code{Shift_Right} intrinsics. @node First Controlling Parameter,,Static aspect on intrinsic functions,Curated Extensions -@anchor{gnat_rm/gnat_language_extensions first-controlling-parameter}@anchor{453} +@anchor{gnat_rm/gnat_language_extensions first-controlling-parameter}@anchor{456} @subsection First Controlling Parameter @@ -29887,7 +31183,7 @@ The result of a function is never a controlling result. @end itemize @node Experimental Language Extensions,,Curated Extensions,GNAT language extensions -@anchor{gnat_rm/gnat_language_extensions experimental-language-extensions}@anchor{6b}@anchor{gnat_rm/gnat_language_extensions id2}@anchor{454} +@anchor{gnat_rm/gnat_language_extensions experimental-language-extensions}@anchor{6b}@anchor{gnat_rm/gnat_language_extensions id2}@anchor{457} @section Experimental Language Extensions @@ -29896,6 +31192,7 @@ Features activated via @code{-gnatX0} or @menu * Conditional when constructs:: +* Implicit With:: * Storage Model:: * Attribute Super:: * Simpler Accessibility Model:: @@ -29906,11 +31203,12 @@ Features activated via @code{-gnatX0} or * Inference of Dependent Types in Generic Instantiations:: * External_Initialization Aspect:: * Finally construct:: +* Continue statement:: @end menu -@node Conditional when constructs,Storage Model,,Experimental Language Extensions -@anchor{gnat_rm/gnat_language_extensions conditional-when-constructs}@anchor{455} +@node Conditional when constructs,Implicit With,,Experimental Language Extensions +@anchor{gnat_rm/gnat_language_extensions conditional-when-constructs}@anchor{458} @subsection Conditional when constructs @@ -29978,8 +31276,25 @@ begin end; @end example -@node Storage Model,Attribute Super,Conditional when constructs,Experimental Language Extensions -@anchor{gnat_rm/gnat_language_extensions storage-model}@anchor{456} +@node Implicit With,Storage Model,Conditional when constructs,Experimental Language Extensions +@anchor{gnat_rm/gnat_language_extensions implicit-with}@anchor{459} +@subsection Implicit With + + +This feature allows a standalone @code{use} clause in the context clause of a +compilation unit to imply an implicit @code{with} of the same library unit where +an equivalent @code{with} clause would be allowed. + +@example +use Ada.Text_IO; +procedure Main is +begin + Put_Line ("Hello"); +end; +@end example + +@node Storage Model,Attribute Super,Implicit With,Experimental Language Extensions +@anchor{gnat_rm/gnat_language_extensions storage-model}@anchor{45a} @subsection Storage Model @@ -29996,7 +31311,7 @@ memory models, in particular to support interactions with GPU. @end menu @node Aspect Storage_Model_Type,Aspect Designated_Storage_Model,,Storage Model -@anchor{gnat_rm/gnat_language_extensions aspect-storage-model-type}@anchor{457} +@anchor{gnat_rm/gnat_language_extensions aspect-storage-model-type}@anchor{45b} @subsubsection Aspect Storage_Model_Type @@ -30130,7 +31445,7 @@ end CUDA_Memory; @end example @node Aspect Designated_Storage_Model,Legacy Storage Pools,Aspect Storage_Model_Type,Storage Model -@anchor{gnat_rm/gnat_language_extensions aspect-designated-storage-model}@anchor{458} +@anchor{gnat_rm/gnat_language_extensions aspect-designated-storage-model}@anchor{45c} @subsubsection Aspect Designated_Storage_Model @@ -30208,7 +31523,7 @@ begin @end example @node Legacy Storage Pools,,Aspect Designated_Storage_Model,Storage Model -@anchor{gnat_rm/gnat_language_extensions legacy-storage-pools}@anchor{459} +@anchor{gnat_rm/gnat_language_extensions legacy-storage-pools}@anchor{45d} @subsubsection Legacy Storage Pools @@ -30259,7 +31574,7 @@ type Acc is access Integer_Array with Storage_Pool => My_Pool; can still be accepted as a shortcut for the new syntax. @node Attribute Super,Simpler Accessibility Model,Storage Model,Experimental Language Extensions -@anchor{gnat_rm/gnat_language_extensions attribute-super}@anchor{45a} +@anchor{gnat_rm/gnat_language_extensions attribute-super}@anchor{45e} @subsection Attribute Super @@ -30294,7 +31609,7 @@ end; @end example @node Simpler Accessibility Model,Case pattern matching,Attribute Super,Experimental Language Extensions -@anchor{gnat_rm/gnat_language_extensions simpler-accessibility-model}@anchor{45b} +@anchor{gnat_rm/gnat_language_extensions simpler-accessibility-model}@anchor{45f} @subsection Simpler Accessibility Model @@ -30325,7 +31640,7 @@ All of the refined rules are compatible with the [use of anonymous access types @end menu @node Stand-alone objects,Subprogram parameters,,Simpler Accessibility Model -@anchor{gnat_rm/gnat_language_extensions stand-alone-objects}@anchor{45c} +@anchor{gnat_rm/gnat_language_extensions stand-alone-objects}@anchor{460} @subsubsection Stand-alone objects @@ -30373,7 +31688,7 @@ of the RM 4.6 rule “The accessibility level of the operand type shall not be statically deeper than that of the target type …”. @node Subprogram parameters,Function results,Stand-alone objects,Simpler Accessibility Model -@anchor{gnat_rm/gnat_language_extensions subprogram-parameters}@anchor{45d} +@anchor{gnat_rm/gnat_language_extensions subprogram-parameters}@anchor{461} @subsubsection Subprogram parameters @@ -30466,7 +31781,7 @@ end; @end example @node Function results,,Subprogram parameters,Simpler Accessibility Model -@anchor{gnat_rm/gnat_language_extensions function-results}@anchor{45e} +@anchor{gnat_rm/gnat_language_extensions function-results}@anchor{462} @subsubsection Function results @@ -30594,7 +31909,7 @@ end; @end example @node Case pattern matching,Mutably Tagged Types with Size’Class Aspect,Simpler Accessibility Model,Experimental Language Extensions -@anchor{gnat_rm/gnat_language_extensions case-pattern-matching}@anchor{45f} +@anchor{gnat_rm/gnat_language_extensions case-pattern-matching}@anchor{463} @subsection Case pattern matching @@ -30724,81 +32039,111 @@ message generated in such cases is usually “Capacity exceeded in compiling case statement with composite selector type”. @node Mutably Tagged Types with Size’Class Aspect,Generalized Finalization,Case pattern matching,Experimental Language Extensions -@anchor{gnat_rm/gnat_language_extensions mutably-tagged-types-with-size-class-aspect}@anchor{460} +@anchor{gnat_rm/gnat_language_extensions mutably-tagged-types-with-size-class-aspect}@anchor{464} @subsection Mutably Tagged Types with Size’Class Aspect -The @code{Size'Class} aspect can be applied to a tagged type to specify a size -constraint for the type and its descendants. When this aspect is specified -on a tagged type, the class-wide type of that type is considered to be a -“mutably tagged” type - meaning that objects of the class-wide type can have -their tag changed by assignment from objects with a different tag. +For a specific tagged nonformal type T that satisfies some conditions +described later in this section, the universal-integer-valued type-related +representation aspect @code{Size'Class} may be specified; any such specified +aspect value shall be static. -Example: +Specifying this aspect imposes an upper bound on the sizes of all specific +descendants of T (including T itself). T’Class (but not T) is then said to be +a “mutably tagged” type - meaning that T’Class is a definite subtype and that +the tag of a variable of type T’Class may be modified by assignment in some +cases described later in this section. An inherited @code{Size'Class} aspect +value may be overridden, but not with a larger value. -@example -type Base is tagged null record - with Size'Class => 16 * 8; -- Size in bits (128 bits, or 16 bytes) +If the @code{Size'Class} aspect is specified for a type T, then every specific +descendant of T (including T itself) -type Derived_Type is new Base with record - Data_Field : Integer; -end record; -- ERROR if Derived_Type exceeds 16 bytes -@end example - -Class-wide types with a specified @code{Size'Class} can be used as the type of -array components, record components, and stand-alone objects. -@example -Inst : Base'Class; -type Array_of_Base is array (Positive range <>) of Base'Class; -@end example - -If the @code{Size'Class} aspect is specified for a type @code{T}, then every -specific descendant of @code{T} [redundant: (including @code{T})] - - -@itemize - +@itemize * @item shall have a Size that does not exceed the specified value; and @item -shall be undiscriminated; and +shall have a (possibly inherited) @code{Size'Class} aspect that does not exceed +the specifed value; and @item -shall have no composite subcomponent whose subtype is subject to a -dynamic constraint; and +shall be undiscriminated; and @item -shall have no interface progenitors; and +shall have no composite subcomponent whose subtype is subject to a nonstatic +constraint; and @item shall not have a tagged partial view other than a private extension; and @item -shall not have a statically deeper accessibility level than that of @code{T}. +shall not be a descendant of an interface type; and + +@item +shall not have a statically deeper accessibility level than that of T. @end itemize -In addition to the places where Legality Rules normally apply (see 12.3), -these legality rules apply also in the private part and in the body of an -instance of a generic unit. +If the @code{Size'Class} aspect is not specified for a type T (either explicitly +or by inheritance), then it shall not be specified for any descendant of T. + +Example: + +@example +type Root_Type is tagged null record with Size'Class => 16 * 8; + +type Derived_Type is new Root_Type with record + Stuff : Some_Type; +end record; -- ERROR if Derived_Type exceeds 16 bytes +@end example + +Because any subtype of a mutably tagged type is definite, it can be used as a +component subtype for enclosing array or record types, as the subtype of a +default-initialized stand-alone object, or as the subtype of an uninitialized +allocator, as in this example: + +@example +Obj : Root_Type'Class; +type Array_of_Roots is array (Positive range <>) of Root_Type'Class; +@end example -For any subtype @code{S} that is a subtype of a descendant of @code{T}, @code{S'Class'Size} is -defined to yield the specified value [redundant:, although @code{S'Class'Size} is -not a static expression]. +Default initialization of an object of such a definite subtype proceeds as +for the corresponding specific type, except that Program_Error is raised if +the specific type is abstract. In particular, the initial tag of the object +is that of the corresponding specific type. -A class-wide descendant of a type with a specified @code{Size'Class} aspect is -defined to be a “mutably tagged” type. Any subtype of a mutably tagged type is, -by definition, a definite subtype (RM 3.3 notwithstanding). Default -initialization of an object of such a definite subtype proceeds as for the -corresponding specific type, except that @code{Program_Error} is raised if the -specific type is abstract. [In particular, the initial tag of the object is -that of the corresponding specific type.] +There is a general design principle that if a type has a tagged partial view, +then the type’s @code{Size'Class} aspect (or lack thereof) should be determinable +by looking only at the partial view. That provides the motivation for the +rules of the next two paragraphs. -An object of a tagged type is defined to be “tag-constrained” if it is +If a type has a tagged partial view, then a @code{Size'Class} aspect specification +may be provided only at the point of the partial view declaration (in other +words, no such aspect specification may be provided when the full view of +the type is declared). All of the above rules (in particular, the rule that +an overriding @code{Size'Class} aspect value shall not be larger than the +overridden inherited value) are also enforced when the full view (which may +have a different ancestor type than that of the partial view) is declared. +If a partial view for a type inherits a @code{Size'Class} aspect value and does +not override that value with an explicit aspect specification, then the +(static) aspect values inherited by the partial view and by the full view +shall be equal. +An actual parameter of an instantiation whose corresponding formal parameter +is a formal tagged private type shall not be either mutably tagged or the +corresponding specific type of a mutably tagged type. + +For the legality rules in this section, the RM 12.3(11) rule about legality +checking in the visible part and formal part of an instance is extended (in +the same way that it is extended in many other places in the RM) to include +the private part of an instance. + +An object (or a view thereof) of a tagged type is defined to be +“tag-constrained” if it is -@itemize - + +@itemize * @item an object whose type is not mutably tagged; or @@ -30810,52 +32155,62 @@ a constant object; or a view conversion of a tag-constrained object; or @item -a formal @code{in out} or @code{out} parameter whose corresponding -actual parameter is tag-constrained. +a view conversion to a type that is not a descendant of the operand’s +type; or + +@item +a formal in out or out parameter whose corresponding actual parameter is +tag-constrained; or + +@item +a dereference of an access value. @end itemize -In the case of an assignment to a tagged variable that -is not tag-constrained, no check is performed that the tag of the value of -the expression is the same as that of the target (RM 5.2 notwithstanding). +In the case of an assignment to a tagged variable that is not +tag-constrained, no check is performed that the tag of the value +of the expression is the same as that of the target (RM 5.2 notwithstanding). Instead, the tag of the target object becomes that of the source object of -the assignment. +the assignment. Note that the tag of an object of a mutably tagged type MT +will always be the tag of some specific type that is a descendant of MT. An assignment to a composite object similarly copies the tags of any -subcomponents of the source object that have a mutably-tagged type. - -The @code{Constrained} attribute is defined for any name denoting an object of a -mutably tagged type (RM 3.7.2 notwithstanding). In this case, the Constrained -attribute yields the value True if the object is tag-constrained and False -otherwise. - -Renaming is not allowed (see 8.5.1) for a type conversion having an operand of -a mutably tagged type @code{MT} and a target type @code{TT} such that @code{TT'Class} -does not cover @code{MT}, nor for any part of such an object, nor for any slice -of such an object. This rule also applies in any context where a name is -required to be one for which “renaming is allowed” (for example, see RM 12.4). - -A name denoting a view of a variable of a mutably tagged type shall not -occur as an operative constituent of the prefix of a name denoting a -prefixed view of a callable entity, except as the callee name in a call to -the callable entity. - -For a type conversion between two general access types, either both or neither -of the designated types shall be mutably tagged. For an @code{Access} (or -@code{Unchecked_Access}) attribute reference, the designated type of the type of the -attribute reference and the type of the prefix of the attribute shall either -both or neither be mutably tagged. +subcomponents of the source object that have a mutably tagged type. + +The Constrained attribute is defined for any name denoting an object of a +mutably tagged type (RM 3.7.2 notwithstanding). In this case, the +Constrained attribute yields the value True if the object is +tag-constrained and False otherwise. + +Renaming is not allowed (see RM 8.5.1) for a type conversion having an operand +of a mutably tagged type MT and a target type TT such that TT (or its +corresponding specific type if TT is class-wide) is not an ancestor of MT +(this is sometimes called a “downward” conversion), nor for any part of +such an object, nor for any slice of any part of such an object. This +rule also applies in any context where a name is required to be one for +which “renaming is allowed” (for example, see RM 12.4). +[This is analogous to the way that renaming is not allowed for a +discriminant-dependent component of an unconstrained variable.] + +A name denoting a view of a variable of a mutably tagged type shall not occur +as an operative constituent of the prefix of a name denoting a prefixed +view of a callable entity, except as the callee name in a call to the +callable entity. This disallows, for example, renaming such a prefixed view, +passing the prefixed view name as a generic actual parameter, or using the +prefixed view name as the prefix of an attribute. The execution of a construct is erroneous if the construct has a constituent that is a name denoting a subcomponent of a tagged object and the object’s -tag is changed by this execution between evaluating the name and the last use -(within this execution) of the subcomponent denoted by the name. +tag is changed by this execution between evaluating the name and the last +use (within this execution) of the subcomponent denoted by the name. +This is analogous to the RM 3.7.2(4) rule about discriminant-dependent +subcomponents. -If the type of a formal parameter is a specific tagged type then the execution +If the type of a formal parameter is a specific tagged type, then the execution of the call is erroneous if the tag of the actual is changed while the formal -parameter exists (that is, before leaving the corresponding callable -construct). +parameter exists (that is, before leaving the corresponding callable construct). +This is analogous to the RM 6.4.1(18) rule about discriminated parameters. @node Generalized Finalization,No_Raise aspect,Mutably Tagged Types with Size’Class Aspect,Experimental Language Extensions -@anchor{gnat_rm/gnat_language_extensions generalized-finalization}@anchor{461} +@anchor{gnat_rm/gnat_language_extensions generalized-finalization}@anchor{465} @subsection Generalized Finalization @@ -30867,27 +32222,24 @@ that the record type must be a root type, in other words not a derived type. The aspect additionally makes it possible to specify relaxed semantics for the finalization operations by means of the @code{Relaxed_Finalization} setting. - -Example: +Here is the archetypal example: @example -type Ctrl is record - Id : Natural := 0; +type T is record + ... end record with Finalizable => (Initialize => Initialize, Adjust => Adjust, Finalize => Finalize, Relaxed_Finalization => True); -procedure Adjust (Obj : in out Ctrl); -procedure Finalize (Obj : in out Ctrl); -procedure Initialize (Obj : in out Ctrl); +procedure Adjust (Obj : in out T); +procedure Finalize (Obj : in out T); +procedure Initialize (Obj : in out T); @end example -The three procedures have the same profile, taking a single @code{in out T} -parameter. - -We follow the same dynamic semantics as controlled objects: +The three procedures have the same profile, with a single @code{in out} parameter, +and also have the same dynamic semantics as for controlled types: @quotation @@ -30896,98 +32248,49 @@ We follow the same dynamic semantics as controlled objects: @item @code{Initialize} is called when an object of type @code{T} is declared without -default expression. +initialization expression. @item @code{Adjust} is called after an object of type @code{T} is assigned a new value. @item @code{Finalize} is called when an object of type @code{T} goes out of scope (for -stack-allocated objects) or is explicitly deallocated (for heap-allocated -objects). It is also called when on the value being replaced in an -assignment. +stack-allocated objects) or is deallocated (for heap-allocated objects). +It is also called when the value is replaced by an assignment. @end itemize @end quotation -However the following differences are enforced by default when compared to the -current Ada controlled-objects finalization model: +However, when @code{Relaxed_Finalization} is either @code{True} or not explicitly +specified, the following differences are implemented relative to the semantics +of controlled types: @itemize * @item -No automatic finalization of heap allocated objects: @code{Finalize} is only -called when an object is implicitly deallocated. As a consequence, no-runtime -support is needed for the implicit case, and no header will be maintained for -this in heap-allocated controlled objects. +The compiler has permission to perform no automatic finalization of +heap-allocated objects: @code{Finalize} is only called when such an object +is explicitly deallocated, or when the designated object is assigned a new +value. As a consequence, no runtime support is needed for performing +implicit deallocation. In particular, no per-object header data is needed +for heap-allocated objects. -Heap-allocated objects allocated through a nested access type definition will -hence `not' be deallocated either. The result is simply that memory will be -leaked in those cases. +Heap-allocated objects allocated through a nested access type will therefore +`not' be deallocated either. The result is simply that memory will be leaked +in this case. @item -The @code{Finalize} procedure should have have the @ref{462,,No_Raise aspect} specified. -If that’s not the case, a compilation error will be raised. +The @code{Adjust} and @code{Finalize} procedures are automatically considered as +having the @ref{466,,No_Raise aspect} specified for them. In particular, the +compiler has permission to enforce none of the guarantees specified by the +RM 7.6.1 (14/1) and subsequent subclauses. @end itemize -Additionally, two other configuration aspects are added, -@code{Legacy_Heap_Finalization} and @code{Exceptions_In_Finalize}: - - -@itemize * - -@item -@code{Legacy_Heap_Finalization}: Uses the legacy automatic finalization of -heap-allocated objects - -@item -@code{Exceptions_In_Finalize}: Allow users to have a finalizer that raises exceptions -`NB!' note that using this aspect introduces execution time penalities. -@end itemize - -@node No_Raise aspect,Inference of Dependent Types in Generic Instantiations,Generalized Finalization,Experimental Language Extensions -@anchor{gnat_rm/gnat_language_extensions id3}@anchor{463}@anchor{gnat_rm/gnat_language_extensions no-raise-aspect}@anchor{462} -@subsection No_Raise aspect - - -The @code{No_Raise} aspect can be applied to a subprogram to declare that this subprogram is not -expected to raise any exceptions. Should an exception still occur during the execution of -this subprogram, @code{Program_Error} is raised. - -@menu -* New specification for Ada.Finalization.Controlled: New specification for Ada Finalization Controlled. -* Finalized tagged types:: -* Composite types:: -* Interoperability with controlled types:: - -@end menu - -@node New specification for Ada Finalization Controlled,Finalized tagged types,,No_Raise aspect -@anchor{gnat_rm/gnat_language_extensions new-specification-for-ada-finalization-controlled}@anchor{464} -@subsubsection New specification for @code{Ada.Finalization.Controlled} - - -@code{Ada.Finalization.Controlled} is now specified as: - -@example -type Controlled is abstract tagged null record - with Initialize => Initialize, - Adjust => Adjust, - Finalize => Finalize, - Legacy_Heap_Finalization, Exceptions_In_Finalize; - - procedure Initialize (Self : in out Controlled) is abstract; - procedure Adjust (Self : in out Controlled) is abstract; - procedure Finalize (Self : in out Controlled) is abstract; -@end example - -### Examples - -A simple example of a ref-counted type: +Simple example of ref-counted type: @example type T is record - Value : Integer; + Value : Integer; Ref_Count : Natural := 0; end record; @@ -30999,8 +32302,8 @@ type T_Access is access all T; type T_Ref is record Value : T_Access; end record - with Adjust => Adjust, - Finalize => Finalize; + with Finalizable => (Adjust => Adjust, + Finalize => Finalize); procedure Adjust (Ref : in out T_Ref) is begin @@ -31013,7 +32316,7 @@ begin end Finalize; @end example -A simple file handle that ensures resources are properly released: +Simple file handle that ensures resources are properly released: @example package P is @@ -31022,66 +32325,64 @@ package P is function Open (Path : String) return File; procedure Close (F : in out File); + private type File is limited record Handle : ...; end record - with Finalize => Close; + with Finalizable (Finalize => Close); +end P; @end example -@node Finalized tagged types,Composite types,New specification for Ada Finalization Controlled,No_Raise aspect -@anchor{gnat_rm/gnat_language_extensions finalized-tagged-types}@anchor{465} -@subsubsection Finalized tagged types +@menu +* Finalizable tagged types:: +* Composite types:: +* Interoperability with controlled types:: +@end menu -Aspects are inherited by derived types and optionally overriden by those. The -compiler-generated calls to the user-defined operations are then -dispatching whenever it makes sense, i.e. the object in question is of -class-wide type and the class includes at least one finalized tagged type. +@node Finalizable tagged types,Composite types,,Generalized Finalization +@anchor{gnat_rm/gnat_language_extensions finalizable-tagged-types}@anchor{467} +@subsubsection Finalizable tagged types -However note that for simplicity, it is forbidden to change the value of any of -those new aspects in derived types. -@node Composite types,Interoperability with controlled types,Finalized tagged types,No_Raise aspect -@anchor{gnat_rm/gnat_language_extensions composite-types}@anchor{466} -@subsubsection Composite types +The aspect is inherited by derived types and the primitives may be overridden +by the derivation. The compiler-generated calls to these operations are then +dispatching whenever it makes sense, i.e. when the object in question is of a +class-wide type and the class includes at least one finalizable tagged type. +@node Composite types,Interoperability with controlled types,Finalizable tagged types,Generalized Finalization +@anchor{gnat_rm/gnat_language_extensions composite-types}@anchor{468} +@subsubsection Composite types -When a finalized type is used as a component of a composite type, the latter -becomes finalized as well. The three primitives are derived automatically -in order to call the primitives of their components. - -If that composite type was already user-finalized, then the compiler -calls the primitives of the components so as to stay consistent with today’s -controlled types’s behavior. -So, @code{Initialize} and @code{Adjust} are called on components before they -are called on the composite object, but @code{Finalize} is called on the composite -object first. +When a finalizable type is used as a component of a composite type, the latter +becomes finalizable as well. The three primitives are derived automatically +in order to call the primitives of their components. The dynamic semantics is +the same as for controlled components of composite types. -@node Interoperability with controlled types,,Composite types,No_Raise aspect -@anchor{gnat_rm/gnat_language_extensions interoperability-with-controlled-types}@anchor{467} +@node Interoperability with controlled types,,Composite types,Generalized Finalization +@anchor{gnat_rm/gnat_language_extensions interoperability-with-controlled-types}@anchor{469} @subsubsection Interoperability with controlled types -As a consequence of the redefinition of the @code{Controlled} type as a base type -with the new aspects defined, interoperability with controlled type naturally -follows the definition of the above rules. In particular: +Finalizable types are fully interoperable with controlled types, in particular +it is possible for a finalizable type to have a controlled component and vice +versa, but the stricter dynamic semantics, in other words that of controlled +types, is applied in this case. +@node No_Raise aspect,Inference of Dependent Types in Generic Instantiations,Generalized Finalization,Experimental Language Extensions +@anchor{gnat_rm/gnat_language_extensions id3}@anchor{46a}@anchor{gnat_rm/gnat_language_extensions no-raise-aspect}@anchor{466} +@subsection No_Raise aspect -@itemize * - -@item -It is possible to have a new finalized type have a controlled type -component -@item -It is possible to have a controlled type have a finalized type -component -@end itemize +The @code{No_Raise} aspect can be applied to a subprogram to declare that this +subprogram is not expected to raise an exception. Should an exception still +be raised during the execution of the subprogram, it is caught at the end of +this execution and @code{Program_Error} is propagated to the caller. @node Inference of Dependent Types in Generic Instantiations,External_Initialization Aspect,No_Raise aspect,Experimental Language Extensions -@anchor{gnat_rm/gnat_language_extensions inference-of-dependent-types-in-generic-instantiations}@anchor{468} +@anchor{gnat_rm/gnat_language_extensions inference-of-dependent-types-in-generic-instantiations}@anchor{46b} @subsection Inference of Dependent Types in Generic Instantiations @@ -31158,7 +32459,7 @@ package Int_Array_Operations is new Array_Operations @end example @node External_Initialization Aspect,Finally construct,Inference of Dependent Types in Generic Instantiations,Experimental Language Extensions -@anchor{gnat_rm/gnat_language_extensions external-initialization-aspect}@anchor{469} +@anchor{gnat_rm/gnat_language_extensions external-initialization-aspect}@anchor{46c} @subsection External_Initialization Aspect @@ -31198,8 +32499,8 @@ The maximum size of loaded files is limited to 2@w{^31} bytes. @end quotation @end cartouche -@node Finally construct,,External_Initialization Aspect,Experimental Language Extensions -@anchor{gnat_rm/gnat_language_extensions finally-construct}@anchor{46a} +@node Finally construct,Continue statement,External_Initialization Aspect,Experimental Language Extensions +@anchor{gnat_rm/gnat_language_extensions finally-construct}@anchor{46d} @subsection Finally construct @@ -31216,7 +32517,7 @@ This feature is similar to the one with the same name in other languages such as @end menu @node Syntax<2>,Legality Rules<2>,,Finally construct -@anchor{gnat_rm/gnat_language_extensions id4}@anchor{46b} +@anchor{gnat_rm/gnat_language_extensions id4}@anchor{46e} @subsubsection Syntax @@ -31231,7 +32532,7 @@ handled_sequence_of_statements ::= @end example @node Legality Rules<2>,Dynamic Semantics<2>,Syntax<2>,Finally construct -@anchor{gnat_rm/gnat_language_extensions id5}@anchor{46c} +@anchor{gnat_rm/gnat_language_extensions id5}@anchor{46f} @subsubsection Legality Rules @@ -31241,7 +32542,7 @@ to be transferred outside the finally part are forbidden. Goto & exit where the target is outside of the finally’s @code{sequence_of_statements} are forbidden @node Dynamic Semantics<2>,,Legality Rules<2>,Finally construct -@anchor{gnat_rm/gnat_language_extensions id6}@anchor{46d} +@anchor{gnat_rm/gnat_language_extensions id6}@anchor{470} @subsubsection Dynamic Semantics @@ -31255,8 +32556,26 @@ Abort/ATC (asynchronous transfer of control) cannot interrupt a finally block, n execution, that is the finally block must be executed in full even if the containing task is aborted, or if the control is transferred out of the block. +@node Continue statement,,Finally construct,Experimental Language Extensions +@anchor{gnat_rm/gnat_language_extensions continue-statement}@anchor{471} +@subsection Continue statement + + +The @code{continue} keyword makes it possible to stop execution of a loop iteration +and continue with the next one. A continue statement has the same syntax +(except “exit” is replaced with “continue”), static semantics, and legality +rules as an exit statement. The difference is in the dynamic semantics: where an +exit statement would cause a transfer of control that completes the (implicitly +or explicitly) specified loop_statement, a continue statement would instead +cause a transfer of control that completes only the current iteration of that +loop_statement, like a goto statement targeting a label following the last +statement in the sequence of statements of the specified loop_statement. + +Note that @code{continue} is a keyword but it is not a reserved word. This is a +configuration that does not exist in standard Ada. + @node Security Hardening Features,Obsolescent Features,GNAT language extensions,Top -@anchor{gnat_rm/security_hardening_features doc}@anchor{46e}@anchor{gnat_rm/security_hardening_features id1}@anchor{46f}@anchor{gnat_rm/security_hardening_features security-hardening-features}@anchor{15} +@anchor{gnat_rm/security_hardening_features doc}@anchor{472}@anchor{gnat_rm/security_hardening_features id1}@anchor{473}@anchor{gnat_rm/security_hardening_features security-hardening-features}@anchor{15} @chapter Security Hardening Features @@ -31278,7 +32597,7 @@ change. @end menu @node Register Scrubbing,Stack Scrubbing,,Security Hardening Features -@anchor{gnat_rm/security_hardening_features register-scrubbing}@anchor{470} +@anchor{gnat_rm/security_hardening_features register-scrubbing}@anchor{474} @section Register Scrubbing @@ -31314,7 +32633,7 @@ programming languages, see @cite{Using the GNU Compiler Collection (GCC)}. @c Stack Scrubbing: @node Stack Scrubbing,Hardened Conditionals,Register Scrubbing,Security Hardening Features -@anchor{gnat_rm/security_hardening_features stack-scrubbing}@anchor{471} +@anchor{gnat_rm/security_hardening_features stack-scrubbing}@anchor{475} @section Stack Scrubbing @@ -31458,7 +32777,7 @@ Bar_Callable_Ptr. @c Hardened Conditionals: @node Hardened Conditionals,Hardened Booleans,Stack Scrubbing,Security Hardening Features -@anchor{gnat_rm/security_hardening_features hardened-conditionals}@anchor{472} +@anchor{gnat_rm/security_hardening_features hardened-conditionals}@anchor{476} @section Hardened Conditionals @@ -31548,7 +32867,7 @@ be used with other programming languages supported by GCC. @c Hardened Booleans: @node Hardened Booleans,Control Flow Redundancy,Hardened Conditionals,Security Hardening Features -@anchor{gnat_rm/security_hardening_features hardened-booleans}@anchor{473} +@anchor{gnat_rm/security_hardening_features hardened-booleans}@anchor{477} @section Hardened Booleans @@ -31609,7 +32928,7 @@ and more details on that attribute, see @cite{Using the GNU Compiler Collection @c Control Flow Redundancy: @node Control Flow Redundancy,,Hardened Booleans,Security Hardening Features -@anchor{gnat_rm/security_hardening_features control-flow-redundancy}@anchor{474} +@anchor{gnat_rm/security_hardening_features control-flow-redundancy}@anchor{478} @section Control Flow Redundancy @@ -31777,7 +33096,7 @@ see @cite{Using the GNU Compiler Collection (GCC)}. These options can be used with other programming languages supported by GCC. @node Obsolescent Features,Compatibility and Porting Guide,Security Hardening Features,Top -@anchor{gnat_rm/obsolescent_features doc}@anchor{475}@anchor{gnat_rm/obsolescent_features id1}@anchor{476}@anchor{gnat_rm/obsolescent_features obsolescent-features}@anchor{16} +@anchor{gnat_rm/obsolescent_features doc}@anchor{479}@anchor{gnat_rm/obsolescent_features id1}@anchor{47a}@anchor{gnat_rm/obsolescent_features obsolescent-features}@anchor{16} @chapter Obsolescent Features @@ -31796,7 +33115,7 @@ compatibility purposes. @end menu @node pragma No_Run_Time,pragma Ravenscar,,Obsolescent Features -@anchor{gnat_rm/obsolescent_features id2}@anchor{477}@anchor{gnat_rm/obsolescent_features pragma-no-run-time}@anchor{478} +@anchor{gnat_rm/obsolescent_features id2}@anchor{47b}@anchor{gnat_rm/obsolescent_features pragma-no-run-time}@anchor{47c} @section pragma No_Run_Time @@ -31809,7 +33128,7 @@ preferred usage is to use an appropriately configured run-time that includes just those features that are to be made accessible. @node pragma Ravenscar,pragma Restricted_Run_Time,pragma No_Run_Time,Obsolescent Features -@anchor{gnat_rm/obsolescent_features id3}@anchor{479}@anchor{gnat_rm/obsolescent_features pragma-ravenscar}@anchor{47a} +@anchor{gnat_rm/obsolescent_features id3}@anchor{47d}@anchor{gnat_rm/obsolescent_features pragma-ravenscar}@anchor{47e} @section pragma Ravenscar @@ -31818,7 +33137,7 @@ The pragma @code{Ravenscar} has exactly the same effect as pragma is part of the new Ada 2005 standard. @node pragma Restricted_Run_Time,pragma Task_Info,pragma Ravenscar,Obsolescent Features -@anchor{gnat_rm/obsolescent_features id4}@anchor{47b}@anchor{gnat_rm/obsolescent_features pragma-restricted-run-time}@anchor{47c} +@anchor{gnat_rm/obsolescent_features id4}@anchor{47f}@anchor{gnat_rm/obsolescent_features pragma-restricted-run-time}@anchor{480} @section pragma Restricted_Run_Time @@ -31828,7 +33147,7 @@ preferred since the Ada 2005 pragma @code{Profile} is intended for this kind of implementation dependent addition. @node pragma Task_Info,package System Task_Info s-tasinf ads,pragma Restricted_Run_Time,Obsolescent Features -@anchor{gnat_rm/obsolescent_features id5}@anchor{47d}@anchor{gnat_rm/obsolescent_features pragma-task-info}@anchor{47e} +@anchor{gnat_rm/obsolescent_features id5}@anchor{481}@anchor{gnat_rm/obsolescent_features pragma-task-info}@anchor{482} @section pragma Task_Info @@ -31854,7 +33173,7 @@ in the spec of package System.Task_Info in the runtime library. @node package System Task_Info s-tasinf ads,,pragma Task_Info,Obsolescent Features -@anchor{gnat_rm/obsolescent_features package-system-task-info}@anchor{47f}@anchor{gnat_rm/obsolescent_features package-system-task-info-s-tasinf-ads}@anchor{480} +@anchor{gnat_rm/obsolescent_features package-system-task-info}@anchor{483}@anchor{gnat_rm/obsolescent_features package-system-task-info-s-tasinf-ads}@anchor{484} @section package System.Task_Info (@code{s-tasinf.ads}) @@ -31864,7 +33183,7 @@ to support the @code{Task_Info} pragma. The predefined Ada package standard replacement for GNAT’s @code{Task_Info} functionality. @node Compatibility and Porting Guide,GNU Free Documentation License,Obsolescent Features,Top -@anchor{gnat_rm/compatibility_and_porting_guide doc}@anchor{481}@anchor{gnat_rm/compatibility_and_porting_guide compatibility-and-porting-guide}@anchor{17}@anchor{gnat_rm/compatibility_and_porting_guide id1}@anchor{482} +@anchor{gnat_rm/compatibility_and_porting_guide doc}@anchor{485}@anchor{gnat_rm/compatibility_and_porting_guide compatibility-and-porting-guide}@anchor{17}@anchor{gnat_rm/compatibility_and_porting_guide id1}@anchor{486} @chapter Compatibility and Porting Guide @@ -31886,7 +33205,7 @@ applications developed in other Ada environments. @end menu @node Writing Portable Fixed-Point Declarations,Compatibility with Ada 83,,Compatibility and Porting Guide -@anchor{gnat_rm/compatibility_and_porting_guide id2}@anchor{483}@anchor{gnat_rm/compatibility_and_porting_guide writing-portable-fixed-point-declarations}@anchor{484} +@anchor{gnat_rm/compatibility_and_porting_guide id2}@anchor{487}@anchor{gnat_rm/compatibility_and_porting_guide writing-portable-fixed-point-declarations}@anchor{488} @section Writing Portable Fixed-Point Declarations @@ -32008,13 +33327,13 @@ If you follow this scheme you will be guaranteed that your fixed-point types will be portable. @node Compatibility with Ada 83,Compatibility between Ada 95 and Ada 2005,Writing Portable Fixed-Point Declarations,Compatibility and Porting Guide -@anchor{gnat_rm/compatibility_and_porting_guide compatibility-with-ada-83}@anchor{485}@anchor{gnat_rm/compatibility_and_porting_guide id3}@anchor{486} +@anchor{gnat_rm/compatibility_and_porting_guide compatibility-with-ada-83}@anchor{489}@anchor{gnat_rm/compatibility_and_porting_guide id3}@anchor{48a} @section Compatibility with Ada 83 -@geindex Compatibility (between Ada 83 and Ada 95 / Ada 2005 / Ada 2012) +@geindex Compatibility (between Ada 83 and Ada 95 / Ada 2005 / Ada 2012 / Ada 2022) -Ada 95 and the subsequent revisions Ada 2005 and Ada 2012 +Ada 95 and the subsequent revisions Ada 2005, Ada 2012, Ada 2022 are highly upwards compatible with Ada 83. In particular, the design intention was that the difficulties associated with moving from Ada 83 to later versions of the standard should be no greater @@ -32036,7 +33355,7 @@ following subsections treat the most likely issues to be encountered. @end menu @node Legal Ada 83 programs that are illegal in Ada 95,More deterministic semantics,,Compatibility with Ada 83 -@anchor{gnat_rm/compatibility_and_porting_guide id4}@anchor{487}@anchor{gnat_rm/compatibility_and_porting_guide legal-ada-83-programs-that-are-illegal-in-ada-95}@anchor{488} +@anchor{gnat_rm/compatibility_and_porting_guide id4}@anchor{48b}@anchor{gnat_rm/compatibility_and_porting_guide legal-ada-83-programs-that-are-illegal-in-ada-95}@anchor{48c} @subsection Legal Ada 83 programs that are illegal in Ada 95 @@ -32136,7 +33455,7 @@ the fix is usually simply to add the @code{(<>)} to the generic declaration. @end itemize @node More deterministic semantics,Changed semantics,Legal Ada 83 programs that are illegal in Ada 95,Compatibility with Ada 83 -@anchor{gnat_rm/compatibility_and_porting_guide id5}@anchor{489}@anchor{gnat_rm/compatibility_and_porting_guide more-deterministic-semantics}@anchor{48a} +@anchor{gnat_rm/compatibility_and_porting_guide id5}@anchor{48d}@anchor{gnat_rm/compatibility_and_porting_guide more-deterministic-semantics}@anchor{48e} @subsection More deterministic semantics @@ -32164,7 +33483,7 @@ which open select branches are executed. @end itemize @node Changed semantics,Other language compatibility issues,More deterministic semantics,Compatibility with Ada 83 -@anchor{gnat_rm/compatibility_and_porting_guide changed-semantics}@anchor{48b}@anchor{gnat_rm/compatibility_and_porting_guide id6}@anchor{48c} +@anchor{gnat_rm/compatibility_and_porting_guide changed-semantics}@anchor{48f}@anchor{gnat_rm/compatibility_and_porting_guide id6}@anchor{490} @subsection Changed semantics @@ -32206,7 +33525,7 @@ covers only the restricted range. @end itemize @node Other language compatibility issues,,Changed semantics,Compatibility with Ada 83 -@anchor{gnat_rm/compatibility_and_porting_guide id7}@anchor{48d}@anchor{gnat_rm/compatibility_and_porting_guide other-language-compatibility-issues}@anchor{48e} +@anchor{gnat_rm/compatibility_and_porting_guide id7}@anchor{491}@anchor{gnat_rm/compatibility_and_porting_guide other-language-compatibility-issues}@anchor{492} @subsection Other language compatibility issues @@ -32239,7 +33558,7 @@ include @code{pragma Interface} and the floating point type attributes @end itemize @node Compatibility between Ada 95 and Ada 2005,Implementation-dependent characteristics,Compatibility with Ada 83,Compatibility and Porting Guide -@anchor{gnat_rm/compatibility_and_porting_guide compatibility-between-ada-95-and-ada-2005}@anchor{48f}@anchor{gnat_rm/compatibility_and_porting_guide id8}@anchor{490} +@anchor{gnat_rm/compatibility_and_porting_guide compatibility-between-ada-95-and-ada-2005}@anchor{493}@anchor{gnat_rm/compatibility_and_porting_guide id8}@anchor{494} @section Compatibility between Ada 95 and Ada 2005 @@ -32311,7 +33630,7 @@ can declare a function returning a value from an anonymous access type. @end itemize @node Implementation-dependent characteristics,Compatibility with Other Ada Systems,Compatibility between Ada 95 and Ada 2005,Compatibility and Porting Guide -@anchor{gnat_rm/compatibility_and_porting_guide id9}@anchor{491}@anchor{gnat_rm/compatibility_and_porting_guide implementation-dependent-characteristics}@anchor{492} +@anchor{gnat_rm/compatibility_and_porting_guide id9}@anchor{495}@anchor{gnat_rm/compatibility_and_porting_guide implementation-dependent-characteristics}@anchor{496} @section Implementation-dependent characteristics @@ -32334,7 +33653,7 @@ transition from certain Ada 83 compilers. @end menu @node Implementation-defined pragmas,Implementation-defined attributes,,Implementation-dependent characteristics -@anchor{gnat_rm/compatibility_and_porting_guide id10}@anchor{493}@anchor{gnat_rm/compatibility_and_porting_guide implementation-defined-pragmas}@anchor{494} +@anchor{gnat_rm/compatibility_and_porting_guide id10}@anchor{497}@anchor{gnat_rm/compatibility_and_porting_guide implementation-defined-pragmas}@anchor{498} @subsection Implementation-defined pragmas @@ -32356,7 +33675,7 @@ avoiding compiler rejection of units that contain such pragmas; they are not relevant in a GNAT context and hence are not otherwise implemented. @node Implementation-defined attributes,Libraries,Implementation-defined pragmas,Implementation-dependent characteristics -@anchor{gnat_rm/compatibility_and_porting_guide id11}@anchor{495}@anchor{gnat_rm/compatibility_and_porting_guide implementation-defined-attributes}@anchor{496} +@anchor{gnat_rm/compatibility_and_porting_guide id11}@anchor{499}@anchor{gnat_rm/compatibility_and_porting_guide implementation-defined-attributes}@anchor{49a} @subsection Implementation-defined attributes @@ -32370,7 +33689,7 @@ Ada 83, GNAT supplies the attributes @code{Bit}, @code{Machine_Size} and @code{Type_Class}. @node Libraries,Elaboration order,Implementation-defined attributes,Implementation-dependent characteristics -@anchor{gnat_rm/compatibility_and_porting_guide id12}@anchor{497}@anchor{gnat_rm/compatibility_and_porting_guide libraries}@anchor{498} +@anchor{gnat_rm/compatibility_and_porting_guide id12}@anchor{49b}@anchor{gnat_rm/compatibility_and_porting_guide libraries}@anchor{49c} @subsection Libraries @@ -32399,7 +33718,7 @@ be preferable to retrofit the application using modular types. @end itemize @node Elaboration order,Target-specific aspects,Libraries,Implementation-dependent characteristics -@anchor{gnat_rm/compatibility_and_porting_guide elaboration-order}@anchor{499}@anchor{gnat_rm/compatibility_and_porting_guide id13}@anchor{49a} +@anchor{gnat_rm/compatibility_and_porting_guide elaboration-order}@anchor{49d}@anchor{gnat_rm/compatibility_and_porting_guide id13}@anchor{49e} @subsection Elaboration order @@ -32435,7 +33754,7 @@ pragmas either globally (as an effect of the `-gnatE' switch) or locally @end itemize @node Target-specific aspects,,Elaboration order,Implementation-dependent characteristics -@anchor{gnat_rm/compatibility_and_porting_guide id14}@anchor{49b}@anchor{gnat_rm/compatibility_and_porting_guide target-specific-aspects}@anchor{49c} +@anchor{gnat_rm/compatibility_and_porting_guide id14}@anchor{49f}@anchor{gnat_rm/compatibility_and_porting_guide target-specific-aspects}@anchor{4a0} @subsection Target-specific aspects @@ -32445,13 +33764,13 @@ such an Ada 83 application is being ported to different target hardware (for example where the byte endianness has changed) then you will need to carefully examine the program logic; the porting effort will heavily depend on the robustness of the original design. Moreover, Ada 95 (and thus -Ada 2005 and Ada 2012) are sometimes +Ada 2005, Ada 2012, and Ada 2022) are sometimes incompatible with typical Ada 83 compiler practices regarding implicit packing, the meaning of the Size attribute, and the size of access values. -GNAT’s approach to these issues is described in @ref{49d,,Representation Clauses}. +GNAT’s approach to these issues is described in @ref{4a1,,Representation Clauses}. @node Compatibility with Other Ada Systems,Representation Clauses,Implementation-dependent characteristics,Compatibility and Porting Guide -@anchor{gnat_rm/compatibility_and_porting_guide compatibility-with-other-ada-systems}@anchor{49e}@anchor{gnat_rm/compatibility_and_porting_guide id15}@anchor{49f} +@anchor{gnat_rm/compatibility_and_porting_guide compatibility-with-other-ada-systems}@anchor{4a2}@anchor{gnat_rm/compatibility_and_porting_guide id15}@anchor{4a3} @section Compatibility with Other Ada Systems @@ -32494,7 +33813,7 @@ far beyond this minimal set, as described in the next section. @end itemize @node Representation Clauses,Compatibility with HP Ada 83,Compatibility with Other Ada Systems,Compatibility and Porting Guide -@anchor{gnat_rm/compatibility_and_porting_guide id16}@anchor{4a0}@anchor{gnat_rm/compatibility_and_porting_guide representation-clauses}@anchor{49d} +@anchor{gnat_rm/compatibility_and_porting_guide id16}@anchor{4a4}@anchor{gnat_rm/compatibility_and_porting_guide representation-clauses}@anchor{4a1} @section Representation Clauses @@ -32587,7 +33906,7 @@ with thin pointers. @end itemize @node Compatibility with HP Ada 83,,Representation Clauses,Compatibility and Porting Guide -@anchor{gnat_rm/compatibility_and_porting_guide compatibility-with-hp-ada-83}@anchor{4a1}@anchor{gnat_rm/compatibility_and_porting_guide id17}@anchor{4a2} +@anchor{gnat_rm/compatibility_and_porting_guide compatibility-with-hp-ada-83}@anchor{4a5}@anchor{gnat_rm/compatibility_and_porting_guide id17}@anchor{4a6} @section Compatibility with HP Ada 83 @@ -32617,7 +33936,7 @@ extension of package System. @end itemize @node GNU Free Documentation License,Index,Compatibility and Porting Guide,Top -@anchor{share/gnu_free_documentation_license doc}@anchor{4a3}@anchor{share/gnu_free_documentation_license gnu-fdl}@anchor{1}@anchor{share/gnu_free_documentation_license gnu-free-documentation-license}@anchor{4a4} +@anchor{share/gnu_free_documentation_license doc}@anchor{4a7}@anchor{share/gnu_free_documentation_license gnu-fdl}@anchor{1}@anchor{share/gnu_free_documentation_license gnu-free-documentation-license}@anchor{4a8} @chapter GNU Free Documentation License |