]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Remove obsolete reference in comment
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 29 Feb 2024 14:52:45 +0000 (15:52 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Thu, 16 May 2024 08:49:34 +0000 (10:49 +0200)
gcc/ada/

* exp_ch7.adb (Attach_Object_To_Master_Node): Remove reference to a
transient object in comment.

gcc/ada/exp_ch7.adb

index f9738e115f9932b414afc2b04fd0fd558812de2c..993c13c73187b0f2fc44ce81cb5e8a948e6292d2 100644 (file)
@@ -798,10 +798,10 @@ package body Exp_Ch7 is
          return;
       end if;
 
-      --  When the transient object is initialized by an aggregate, the
-      --  attachment must occur after the last aggregate assignment takes
-      --  place. Only then is the object considered initialized. Likewise
-      --  if we have a build-in-place call: we must attach only after it.
+      --  When the object is initialized by an aggregate, the attachment must
+      --  occur after the last aggregate assignment takes place; only then is
+      --  the object considered initialized. Likewise if it is initialized by
+      --  a build-in-place call: we must attach only after the call.
 
       if Ekind (Obj_Id) in E_Constant | E_Variable then
          if Present (Last_Aggregate_Assignment (Obj_Id)) then