[committed] ira: Fix `create_insn_allocnos' `outer' parameter documentation

Message ID alpine.DEB.2.20.2211141505170.19931@tpp.orcam.me.uk
State Accepted
Headers
Series [committed] ira: Fix `create_insn_allocnos' `outer' parameter documentation |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

Maciej W. Rozycki Nov. 14, 2022, 10:03 p.m. UTC
  The parameter of `create_insn_allocnos' for any parent expression of `x' 
has always been called `outer' rather than `parent', just as added by 
commit d1bb282efbf9 ("Fix for "FAIL: tmpdir-gcc.dg-struct-layout-1/t028 
c_compat_x_tst.o compile, (internal compiler error)""), 
<https://gcc.gnu.org/ml/gcc-patches/2014-09/msg02611.html>.  Correct 
inline documentation accordingly.

	gcc/
	* ira-build.cc (create_insn_allocnos): Fix documentation.
---
Hi,

 Committed as obvious.

  Maciej
---
 gcc/ira-build.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

gcc-ira-create-insn-allocnos-outer-doc.diff
  

Patch

Index: gcc/gcc/ira-build.cc
===================================================================
--- gcc.orig/gcc/ira-build.cc
+++ gcc/gcc/ira-build.cc
@@ -1832,7 +1832,7 @@  static basic_block curr_bb;
 
 /* This recursive function creates allocnos corresponding to
    pseudo-registers containing in X.  True OUTPUT_P means that X is
-   an lvalue.  PARENT corresponds to the parent expression of X.  */
+   an lvalue.  OUTER corresponds to the parent expression of X.  */
 static void
 create_insn_allocnos (rtx x, rtx outer, bool output_p)
 {