aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2024-02-29 15:52:45 +0100
committerMarc Poulhiès <poulhies@adacore.com>2024-05-16 10:49:34 +0200
commitbff532827515b23335e315141e37475a142c6932 (patch)
treecf5ab4c0c4a7e43c6e40724e8b884677b66c0c4f /gcc
parentf72988ac5ecfd56229374cbe76d867177ec5431d (diff)
downloadgcc-bff532827515b23335e315141e37475a142c6932.zip
gcc-bff532827515b23335e315141e37475a142c6932.tar.gz
gcc-bff532827515b23335e315141e37475a142c6932.tar.bz2
ada: Remove obsolete reference in comment
gcc/ada/ * exp_ch7.adb (Attach_Object_To_Master_Node): Remove reference to a transient object in comment.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/exp_ch7.adb8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/exp_ch7.adb b/gcc/ada/exp_ch7.adb
index f9738e1..993c13c 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