public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] ira: Fix `create_insn_allocnos' `outer' parameter documentation
@ 2022-11-14 22:03 Maciej W. Rozycki
  0 siblings, 0 replies; only message in thread
From: Maciej W. Rozycki @ 2022-11-14 22:03 UTC (permalink / raw)
  To: gcc-patches

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
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)
 {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-14 22:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-14 22:03 [committed] ira: Fix `create_insn_allocnos' `outer' parameter documentation Maciej W. Rozycki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).