From: Eric Botcazou Date: Thu, 27 Mar 2025 21:56:59 +0000 (+0100) Subject: ada: Minor comment tweak X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c0f367bac1af82d93e9f21f24b18ea2bfdc067a;p=thirdparty%2Fgcc.git 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 --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.