]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Remove obsolete ??? comment about Assignment_OK flag
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 25 Oct 2024 06:37:30 +0000 (08:37 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Tue, 12 Nov 2024 13:00:51 +0000 (14:00 +0100)
The flagged use has apparently disappeared for long.

gcc/ada/ChangeLog:

* sinfo.ads (Assignment_OK): Remove obsolete ??? comment.

gcc/ada/sinfo.ads

index 47fd73a599a6b207941aa7b16ba0914029d75ab9..7ed6fad6709407033099fd21a009b8d2f5414afb 100644 (file)
@@ -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