]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gnat_ugn.texi: Minor updates.
authorRobert Dewar <dewar@adacore.com>
Wed, 15 Jul 2009 10:42:12 +0000 (10:42 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 15 Jul 2009 10:42:12 +0000 (12:42 +0200)
2009-07-15  Robert Dewar  <dewar@adacore.com>

* gnat_ugn.texi: Minor updates.

* snames.ads-tmpl: Minor comment updates for Ada 2005 fully implemented

From-SVN: r149680

gcc/ada/ChangeLog
gcc/ada/gnat_ugn.texi
gcc/ada/snames.ads-tmpl

index 6edf424d77acee7715dd5287c1afc76b871b94bd..aa81b601356680f97d30d6e418985d2571a39e40 100644 (file)
@@ -1,3 +1,9 @@
+2009-07-15  Robert Dewar  <dewar@adacore.com>
+
+       * gnat_ugn.texi: Minor updates.
+
+       * snames.ads-tmpl: Minor comment updates for Ada 2005 fully implemented
+
 2009-07-15  Ed Schonberg  <schonberg@adacore.com>
 
        * sem_warn.adb (Warn_On_Constant_Condition): Handle properly constant
index 779a7614c6a352d1c602c6396e74fd9b230d7298..08162371a2313e488bfdced75e2c6ad56bb69ff5 100644 (file)
@@ -11309,6 +11309,7 @@ recognized by GNAT:
    Ada_05
    Ada_2005
    Assertion_Policy
+   Assume_No_Invalid_Values
    C_Pass_By_Copy
    Check_Name
    Check_Policy
@@ -11316,12 +11317,14 @@ recognized by GNAT:
    Compile_Time_Warning
    Compiler_Unit
    Component_Alignment
+   Convention_Identifier
    Debug_Policy
    Detect_Blocking
    Discard_Names
    Elaboration_Checks
    Eliminate
    Extend_System
+   Extensions_Allowed
    External_Name_Casing
    Fast_Math
    Favor_Top_Level
@@ -28274,7 +28277,7 @@ the @option{-gnatE} switch on the compiler (@command{gcc} or
 @command{gnatmake}) command, or by the use of the configuration pragma:
 
 @smallexample @c ada
-pragma Elaboration_Checks (RM);
+pragma Elaboration_Checks (DYNAMIC);
 @end smallexample
 
 @noindent
index 9d5d2984f2f420456fcd69e6d41f9996bbb66440..d132ffab2b323b93989b08994c3fb973ddb3d717 100644 (file)
@@ -302,16 +302,19 @@ package Snames is
 
    --  Names for all pragmas recognized by GNAT. The entries with the comment
    --  "Ada 83" are pragmas that are defined in Ada 83, but not in Ada 95.
-   --  These pragmas are fully implemented in both Ada 83 and Ada 95 modes
-   --  in GNAT.
+   --  These pragmas are fully implemented in all modes (Ada 83, Ada 95, and
+   --  Ada 2005). In Ada 95 and Ada 2005 modes, they are technically considered
+   --  to be implementation dependent pragmas.
 
-   --  The entries marked GNAT are pragmas that are defined by GNAT
-   --  and implemented in both Ada 83 and Ada 95 modes. Full descriptions
-   --  of these implementation dependent pragmas may be found in the
-   --  appropriate section in unit Sem_Prag in file sem-prag.adb.
+   --  The entries marked GNAT are pragmas that are defined by GNAT and that
+   --  are implemented in all modes (Ada 83, Ada 95, and Ada 2005) Complete
+   --  descriptions of the syntax of these implementation dependent pragmas
+   --  may be found in the appropriate section in unit Sem_Prag in file
+   --  sem-prag.adb, and they are documented in the GNAT reference manual.
 
-   --  The entries marked Ada05 are technically implementation dependent
-   --  pragmas, but they correspond to standard proposals for Ada 2005.
+   --  The entries marked Ada05 are Ada 2005 pragmas. They are implemented in
+   --  Ada 83 and Ada 95 mode as well, where they are technically considered to
+   --  be implementation dependent pragmas.
 
    --  The entries marked VMS are VMS specific pragmas that are recognized
    --  only in OpenVMS versions of GNAT. They are ignored in other versions
@@ -323,7 +326,9 @@ package Snames is
 
    First_Pragma_Name                   : constant Name_Id := N + $;
 
-   --  Configuration pragmas are grouped at start
+   --  Configuration pragmas are grouped at start. Note that there is a list
+   --  of these names in the GNAT Users guide, be sure to update this list if
+   --  a new configuration pragma is added.
 
    Name_Ada_83                         : constant Name_Id := N + $; -- GNAT
    Name_Ada_95                         : constant Name_Id := N + $; -- GNAT
@@ -447,10 +452,11 @@ package Snames is
    Name_Inline_Generic                 : constant Name_Id := N + $; -- GNAT
    Name_Inspection_Point               : constant Name_Id := N + $;
 
-   --  Note: Interface is not in this list because its name matches   -- GNAT
-   --  an Ada 2005 keyword. However it is included in the definition
-   --  of the type Attribute_Id, and the functions Get_Pragma_Id and
-   --  Is_Pragma_Id correctly recognize and process Name_Storage_Size.
+   --  Note: Interface is not in this list because its name         -- GNAT
+   --  matches an Ada 2005 keyword. However it is included in
+   --  the definition of the type Attribute_Id, and the functions
+   --  Get_Pragma_Id and Is_Pragma_Id correctly recognize and
+   --  process Name_Storage_Size.
 
    Name_Interface_Name                 : constant Name_Id := N + $; -- GNAT
    Name_Interrupt_Handler              : constant Name_Id := N + $;