public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-4034] 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-cvs
https://gcc.gnu.org/g:e7c12a921525b2aa27ca4814c42c63d61a6d954e
commit r13-4034-ge7c12a921525b2aa27ca4814c42c63d61a6d954e
Author: Maciej W. Rozycki <macro@embecosm.com>
Date: Mon Nov 14 22:02:11 2022 +0000
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.
Diff:
---
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 3bf117cbf8e..6bb7c30fb9e 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)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-14 22:03 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 [gcc r13-4034] 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).