]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Make comment more precise
authorRonan Desplanques <desplanques@adacore.com>
Fri, 13 Jun 2025 08:34:50 +0000 (10:34 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Thu, 3 Jul 2025 08:16:28 +0000 (10:16 +0200)
gcc/ada/ChangeLog:

* exp_ch6.adb (Expand_Ctrl_Function_Call): Precisify comment.

gcc/ada/exp_ch6.adb

index e9a73e16b07e2f24cb8d4a02bc6d3f1b72e7d740..c24c8c63ef1fb06124e1a542507c2da2655f495b 100644 (file)
@@ -287,10 +287,11 @@ package body Exp_Ch6 is
 
    --  This expansion is necessary in all the cases where the constant object
    --  denoted by the call needs finalization in the current subprogram, which
-   --  excludes return statements, and is not identified with another object
-   --  that will be finalized, which excludes (statically) declared objects,
-   --  dynamically allocated objects, components of aggregates, and targets of
-   --  assignments that are done directly (without intermediate temporaries).
+   --  excludes simple return statements, and is not identified with another
+   --  object that will be finalized, which excludes (statically) declared
+   --  objects, dynamically allocated objects, components of aggregates, and
+   --  targets of assignments that are done directly (without intermediate
+   --  temporaries).
 
    procedure Expand_Non_Function_Return (N : Node_Id);
    --  Expand a simple return statement found in a procedure body, entry body,