From e7c12a921525b2aa27ca4814c42c63d61a6d954e Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Mon, 14 Nov 2022 22:02:11 +0000 Subject: [PATCH] ira: Fix `create_insn_allocnos' `outer' parameter documentation 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)""), . Correct inline documentation accordingly. gcc/ * ira-build.cc (create_insn_allocnos): Fix documentation. --- gcc/ira-build.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/ira-build.cc b/gcc/ira-build.cc index 3bf117cbf8e9a..6bb7c30fb9eb7 100644 --- a/gcc/ira-build.cc +++ b/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) {