https://gcc.gnu.org/g:5ca0dd127ca52166320059dd308b5ceecac9ec97

commit r17-4607-g5ca0dd127ca52166320059dd308b5ceecac9ec97
Author: Eric Botcazou <[email protected]>
Date:   Wed Sep 23 11:34:55 2026 +0200

    Ada: Minor tweaks to description of function return mechanisms
    
    It does not really make sense to mention function calls here.
    
    gcc/ada/
            * exp_ch6.adb (Function return mechanisms): Minor tweaks.

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

diff --git a/gcc/ada/exp_ch6.adb b/gcc/ada/exp_ch6.adb
index d7749ae08cef..ea6e239f2435 100644
--- a/gcc/ada/exp_ch6.adb
+++ b/gcc/ada/exp_ch6.adb
@@ -95,7 +95,7 @@ package body Exp_Ch6 is
    --  front end, or in the back end, or partly in both ends, depending on the
    --  result type.
 
-   --    Result type    |  Return mechanism    |    Front end    |   Back end
+   --    Result type    |  Return mechanism        |  Front end  |   Back end
    --    --------------------------------------------------------------------
 
    --     Limited           Build In Place              All
@@ -106,13 +106,12 @@ package body Exp_Ch6 is
    --     Needs Fin.        Secondary Stack             All
    --     (BERS False)
 
-   --     Needs Fin.        Invisible Parameter         All            All
-   --     (BERS True)                                 (return)        (call)
+   --     Needs Fin.        Invisible Parameter         All
+   --     (BERS True)
 
    --     By Reference      Invisible Parameter                        All
 
-   --     Others            Primary stack/                             All
-   --                       Registers
+   --     Others            Primary stack/Registers                    All
 
    --    Needs Fin.: type needs finalization [RM 7.6(9.1/2-9.6/2)]
    --    BERS: Opt.Back_End_Return_Slot setting

Reply via email to