public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-3857] [Ada] Fix obsolete comment mentioning girder discriminants
@ 2021-09-23 13:09 Pierre-Marie de Rodat
  0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-09-23 13:09 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:96783caedcbde030672350dd3ac2118fe4f8e73f

commit r12-3857-g96783caedcbde030672350dd3ac2118fe4f8e73f
Author: Eric Botcazou <ebotcazou@adacore.com>
Date:   Thu Jul 15 22:42:26 2021 +0200

    [Ada] Fix obsolete comment mentioning girder discriminants
    
    gcc/ada/
    
            * gcc-interface/decl.c (gnat_to_gnu_entity): Fix comment.

Diff:
---
 gcc/ada/gcc-interface/decl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/ada/gcc-interface/decl.c b/gcc/ada/gcc-interface/decl.c
index 32142d05764..13e9004c89d 100644
--- a/gcc/ada/gcc-interface/decl.c
+++ b/gcc/ada/gcc-interface/decl.c
@@ -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)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-23 13:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-23 13:09 [gcc r12-3857] [Ada] Fix obsolete comment mentioning girder discriminants Pierre-Marie de Rodat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).