[Ada] Fix comment about mapping of parameters and inlining static funcs

Message ID 20220906071552.GA1280391@poulhies-Precision-5550
State New, archived
Headers
Series [Ada] Fix comment about mapping of parameters and inlining static funcs |

Commit Message

Marc Poulhiès Sept. 6, 2022, 7:15 a.m. UTC
  Fix glitch in a cross-reference in comment.

Tested on x86_64-pc-linux-gnu, committed on trunk

gcc/ada/

	* inline.adb (Replace_Formal): Fix name of the referenced routine.
  

Patch

diff --git a/gcc/ada/inline.adb b/gcc/ada/inline.adb
--- a/gcc/ada/inline.adb
+++ b/gcc/ada/inline.adb
@@ -4699,8 +4699,9 @@  package body Inline is
    procedure Inline_Static_Function_Call (N : Node_Id; Subp : Entity_Id) is
 
       function Replace_Formal (N : Node_Id) return Traverse_Result;
-      --  Replace each occurrence of a formal with the corresponding actual,
-      --  using the mapping created by Establish_Mapping_For_Inlined_Call.
+      --  Replace each occurrence of a formal with the
+      --  corresponding actual, using the mapping created
+      --  by Establish_Actual_Mapping_For_Inlined_Call.
 
       function Reset_Sloc (Nod : Node_Id) return Traverse_Result;
       --  Reset the Sloc of a node to that of the call itself, so that errors