https://gcc.gnu.org/g:bff532827515b23335e315141e37475a142c6932

commit r15-570-gbff532827515b23335e315141e37475a142c6932
Author: Eric Botcazou <ebotca...@adacore.com>
Date:   Thu Feb 29 15:52:45 2024 +0100

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

Diff:
---
 gcc/ada/exp_ch7.adb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gcc/ada/exp_ch7.adb b/gcc/ada/exp_ch7.adb
index f9738e115f99..993c13c73187 100644
--- a/gcc/ada/exp_ch7.adb
+++ b/gcc/ada/exp_ch7.adb
@@ -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

Reply via email to