]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Minor comment tweak
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 27 Mar 2025 21:56:59 +0000 (22:56 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Tue, 10 Jun 2025 07:32:10 +0000 (09:32 +0200)
This replaces a couple of occurrences of "function" by "subprogram".

gcc/ada/ChangeLog:

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

gcc/ada/inline.adb

index 0e6cf4df3b7254b95cceb63c10b9c998102c6cfd..72b998961be6cfbfb1f708780dc29c3a505cd56c 100644 (file)
@@ -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.