From: Andrew Carlotti <andrew.carlotti@arm.com>
To: gcc-patches@gcc.gnu.org
Subject: [committed] docs: Fix inconsistent example predicate name
Date: Thu, 22 Dec 2022 17:06:02 +0000 [thread overview]
Message-ID: <Y6SOeoevE0LQJdzF@e124511.cambridge.arm.com> (raw)
It is unclear why the example C function was renamed to
`commutative_integer_operator` as part of ec8e098d in 2004, while the
text and the example md were both left as `commutative_operator`. The
latter name appears to be more accurate, so revert the 2004 change.
Committed as obvious.
gcc/ChangeLog:
* doc/md.texi: Fix inconsistent example name.
---
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi
index 78dc6d720700ca409677e44a34a60d4b7fceb046..cc28f868fc85b5148450548a54d69a39ecc4f03a 100644
--- a/gcc/doc/md.texi
+++ b/gcc/doc/md.texi
@@ -377,7 +377,7 @@ commutative arithmetic operators of RTL and whose mode is @var{mode}:
@smallexample
int
-commutative_integer_operator (x, mode)
+commutative_operator (x, mode)
rtx x;
machine_mode mode;
@{
reply other threads:[~2022-12-22 17:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y6SOeoevE0LQJdzF@e124511.cambridge.arm.com \
--to=andrew.carlotti@arm.com \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).