https://gcc.gnu.org/g:ea04757869a675bd2d0b9fd67d901dbc323af65e
commit r16-8971-gea04757869a675bd2d0b9fd67d901dbc323af65e Author: Eric Botcazou <[email protected]> Date: Mon Jan 5 07:56:07 2026 +0100 ada: Minor comment fixes This comprises a couple of typos and a small rewriting. gcc/ada/ChangeLog: * exp_ch3.adb (Expand_N_Object_Declaration): Minor comment fixes. Diff: --- gcc/ada/exp_ch3.adb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gcc/ada/exp_ch3.adb b/gcc/ada/exp_ch3.adb index 521dbf11ca35..db0a32e46812 100644 --- a/gcc/ada/exp_ch3.adb +++ b/gcc/ada/exp_ch3.adb @@ -9313,7 +9313,7 @@ package body Exp_Ch3 is end if; -- If this is the return object of a function returning on the secondary - -- stack, convert the declaration to a renaming of the dereference of ah + -- stack, convert the declaration to a renaming of the dereference of an -- allocator for the secondary stack. -- Result : T [:= <expression>]; @@ -9404,7 +9404,7 @@ package body Exp_Ch3 is end; -- If this is the return object of a function returning a by-reference - -- type, convert the declaration to a renaming of the dereference of ah + -- type, convert the declaration to a renaming of the dereference of an -- allocator for the return stack. -- Result : T [:= <expression>]; @@ -9477,10 +9477,10 @@ package body Exp_Ch3 is end; end if; - -- Final transformation - turn the object declaration into a renaming - -- if appropriate. If this is the completion of a deferred constant - -- declaration, then this transformation generates what would be - -- illegal code if written by hand, but that's OK. + -- Final transformation: turn the object declaration into a renaming if + -- needed. If this is the completion of a deferred constant declaration, + -- this transformation generates what would be illegal code if written + -- by hand, but that's OK. if Rewrite_As_Renaming then Rewrite_Object_Declaration_As_Renaming (N, Expr_Q);
