https://gcc.gnu.org/g:6e22849641d3fcfa6af3fac1e9117b684d6546ec

commit r16-1952-g6e22849641d3fcfa6af3fac1e9117b684d6546ec
Author: Ronan Desplanques <desplanq...@adacore.com>
Date:   Fri Jun 13 10:34:50 2025 +0200

    ada: Make comment more precise
    
    gcc/ada/ChangeLog:
    
            * exp_ch6.adb (Expand_Ctrl_Function_Call): Precisify comment.

Diff:
---
 gcc/ada/exp_ch6.adb | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gcc/ada/exp_ch6.adb b/gcc/ada/exp_ch6.adb
index e9a73e16b07e..c24c8c63ef1f 100644
--- a/gcc/ada/exp_ch6.adb
+++ b/gcc/ada/exp_ch6.adb
@@ -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,

Reply via email to