]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ira: Fix `create_insn_allocnos' `outer' parameter documentation
authorMaciej W. Rozycki <macro@embecosm.com>
Mon, 14 Nov 2022 22:02:11 +0000 (22:02 +0000)
committerMaciej W. Rozycki <macro@embecosm.com>
Mon, 14 Nov 2022 22:02:11 +0000 (22:02 +0000)
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.

gcc/ira-build.cc

index 3bf117cbf8e9a0cabcac40afc400e973d48be3a7..6bb7c30fb9eb7230057467ee2d87da5e0fb7a7ca 100644 (file)
@@ -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)
 {