aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@embecosm.com>2022-11-14 22:02:11 +0000
committerMaciej W. Rozycki <macro@embecosm.com>2022-11-14 22:02:11 +0000
commite7c12a921525b2aa27ca4814c42c63d61a6d954e (patch)
treea4a2000740bd2c8c758d3518941cdd7b9d1febe4 /gcc
parent2044cf2d6591f7e80411141cbb81b135fa1eca1b (diff)
downloadgcc-e7c12a921525b2aa27ca4814c42c63d61a6d954e.zip
gcc-e7c12a921525b2aa27ca4814c42c63d61a6d954e.tar.gz
gcc-e7c12a921525b2aa27ca4814c42c63d61a6d954e.tar.bz2
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)""), <https://gcc.gnu.org/ml/gcc-patches/2014-09/msg02611.html>. Correct inline documentation accordingly. gcc/ * ira-build.cc (create_insn_allocnos): Fix documentation.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ira-build.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ira-build.cc b/gcc/ira-build.cc
index 3bf117c..6bb7c30 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)
{