From: Eric Botcazou <ebotca...@adacore.com>

gcc/ada/

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

Tested on x86_64-pc-linux-gnu, committed on master.

---
 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 f9738e115f9..993c13c7318 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
-- 
2.43.2

Reply via email to