https://gcc.gnu.org/g:3e8b4d3b68df3df29a56d3206df5cddf0d4d01df

commit r15-4157-g3e8b4d3b68df3df29a56d3206df5cddf0d4d01df
Author: Ronan Desplanques <desplanq...@adacore.com>
Date:   Mon Sep 9 17:53:28 2024 +0200

    ada: Tweak position of comment
    
    This patch puts a comment explaining the absence of Storage_Size in an
    alphabetically sorted list at the spot where Storage_Size would be in
    that list.
    
    gcc/ada/ChangeLog:
            * snames.ads-tmpl: Tweak position of comment.

Diff:
---
 gcc/ada/snames.ads-tmpl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/ada/snames.ads-tmpl b/gcc/ada/snames.ads-tmpl
index b11eb3070fb7..0d00b89d8e47 100644
--- a/gcc/ada/snames.ads-tmpl
+++ b/gcc/ada/snames.ads-tmpl
@@ -680,6 +680,8 @@ package Snames is
    Name_Shared_Passive                 : constant Name_Id := N + $;
    Name_Side_Effects                   : constant Name_Id := N + $; -- GNAT
    Name_Simple_Storage_Pool_Type       : constant Name_Id := N + $; -- GNAT
+   Name_Source_Reference               : constant Name_Id := N + $; -- GNAT
+   Name_Static_Elaboration_Desired     : constant Name_Id := N + $; -- GNAT
 
    --  Note: Storage_Size is not in this list because its name matches the name
    --  of the corresponding attribute. However, it is included in the
@@ -689,8 +691,6 @@ package Snames is
    --  Note: Storage_Unit is also omitted from the list because of a clash with
    --  an attribute name, and is treated similarly.
 
-   Name_Source_Reference               : constant Name_Id := N + $; -- GNAT
-   Name_Static_Elaboration_Desired     : constant Name_Id := N + $; -- GNAT
    Name_Stream_Convert                 : constant Name_Id := N + $; -- GNAT
    Name_Subprogram_Variant             : constant Name_Id := N + $; -- GNAT
    Name_Subtitle                       : constant Name_Id := N + $; -- GNAT

Reply via email to