From: Eric Botcazou <ebotca...@adacore.com>

This replaces a couple of occurrences of "function" by "subprogram".

gcc/ada/ChangeLog:

        * inline.adb (Analyze_Inlined_Bodies): Minor comment tweak.

Tested on x86_64-pc-linux-gnu, committed on master.

---
 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 0e6cf4df3b7..72b998961be 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.
 
-- 
2.43.0

Reply via email to