Skip to content

Commit

Permalink
ira: Fix create_insn_allocnos' outer' parameter documentation
Browse files Browse the repository at this point in the history
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 d1bb282 ("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.
  • Loading branch information
maciej-w-rozycki committed Nov 14, 2022
1 parent 2044cf2 commit e7c12a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcc/ira-build.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit e7c12a9

Please sign in to comment.