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

commit r16-1388-g6c0f367bac1af82d93e9f21f24b18ea2bfdc067a
Author: Eric Botcazou <ebotca...@adacore.com>
Date:   Thu Mar 27 22:56:59 2025 +0100

    ada: Minor comment tweak
    
    This replaces a couple of occurrences of "function" by "subprogram".
    
    gcc/ada/ChangeLog:
    
            * inline.adb (Analyze_Inlined_Bodies): Minor comment tweak.

Diff:
---
 gcc/ada/inline.adb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/ada/inline.adb b/gcc/ada/inline.adb
index 0e6cf4df3b72..72b998961be6 100644
--- a/gcc/ada/inline.adb
+++ b/gcc/ada/inline.adb
@@ -1006,9 +1006,9 @@ package body Inline is
          end loop;
 
          --  The list of inlined subprograms is an overestimate, because it
-         --  includes inlined functions called from functions that are compiled
-         --  as part of an inlined package, but are not themselves called. An
-         --  accurate computation of just those subprograms that are needed
+         --  includes inlined subprograms called from subprograms that are
+         --  declared in an inlined package, but are not themselves called.
+         --  An accurate computation of just those subprograms that are needed
          --  requires that we perform a transitive closure over the call graph,
          --  starting from calls in the main compilation unit.

Reply via email to