From: Eric Botcazou Date: Thu, 29 Feb 2024 14:52:45 +0000 (+0100) Subject: ada: Remove obsolete reference in comment X-Git-Tag: basepoints/gcc-16~8983 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bff532827515b23335e315141e37475a142c6932;p=thirdparty%2Fgcc.git 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 --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