https://gcc.gnu.org/g:220360870b03e81421d10a916a1a4b5f6d87b223

commit r15-5143-g220360870b03e81421d10a916a1a4b5f6d87b223
Author: Eric Botcazou <[email protected]>
Date:   Fri Oct 25 08:37:30 2024 +0200

    ada: Remove obsolete ??? comment about Assignment_OK flag
    
    The flagged use has apparently disappeared for long.
    
    gcc/ada/ChangeLog:
    
            * sinfo.ads (Assignment_OK): Remove obsolete ??? comment.

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

diff --git a/gcc/ada/sinfo.ads b/gcc/ada/sinfo.ads
index 47fd73a599a6..7ed6fad67094 100644
--- a/gcc/ada/sinfo.ads
+++ b/gcc/ada/sinfo.ads
@@ -828,11 +828,9 @@ package Sinfo is
    --    for a number of purposes, including initialization of constants and
    --    limited type objects (such as tasks), setting discriminant fields,
    --    setting tag values, etc. N_Object_Declaration nodes also have this
-   --    flag defined. Here it is used to indicate that an initialization
+   --    flag defined: here it is used to indicate that an initialization
    --    expression is valid, even where it would normally not be allowed
-   --    (e.g. where the type involved is limited). It is also used to stop
-   --    a Force_Evaluation call for an unchecked conversion, but this usage
-   --    is unclear and not documented ???
+   --    (e.g. where the type involved is limited).
 
    --  Associated_Node
    --    Present in nodes that can denote an entity: identifiers, character

Reply via email to