]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Ada] Fix obsolete comment mentioning girder discriminants
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 15 Jul 2021 20:42:26 +0000 (22:42 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 23 Sep 2021 13:06:17 +0000 (13:06 +0000)
gcc/ada/

* gcc-interface/decl.c (gnat_to_gnu_entity): Fix comment.

gcc/ada/gcc-interface/decl.c

index 32142d057647ca9d7601462573f35f45fbaa6069..13e9004c89d64699a05c4308361e8caeb286eea2 100644 (file)
@@ -557,7 +557,7 @@ gnat_to_gnu_entity (Entity_Id gnat_entity, tree gnu_expr, bool definition)
        /* If the entity is an inherited component (in the case of extended
           tagged record types), just return the original entity, which must
           be a FIELD_DECL.  Likewise for discriminants.  If the entity is a
-          non-girder discriminant (in the case of derived untagged record
+          non-stored discriminant (in the case of derived untagged record
           types), return the stored discriminant it renames.  */
        if (Present (Original_Record_Component (gnat_entity))
            && Original_Record_Component (gnat_entity) != gnat_entity)