From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7890) id 1CE0C385B50E; Thu, 22 Dec 2022 17:05:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1CE0C385B50E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671728733; bh=qeNXYR30F2GunDGO18QqOBKCLce91j+BDY4Y+cfLwMc=; h=From:To:Subject:Date:From; b=nC9CBnSloi5q+Qbc8KwwnEvBFRxziTUnNEbP9ZPmBHEs+99iDp28tsm4I5IxLT4Wv yQY2pEDnWRRIc9cvluDkrHqXJFAAKbKfEhaxroxO8fOtwSL7dCFBHs4uhN995flu+8 4X7903Qs3SSTBci44Eu8goStuUdi0gE48IE6azjo= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Andrew Carlotti To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-4849] docs: Fix inconsistent example predicate name X-Act-Checkin: gcc X-Git-Author: Andrew Carlotti X-Git-Refname: refs/heads/master X-Git-Oldrev: e48864e51d2506cdcf04d5ebb9a17f3a997b65bf X-Git-Newrev: 27afe64c1939ddaab90f730e67243b2495eedd7e Message-Id: <20221222170533.1CE0C385B50E@sourceware.org> Date: Thu, 22 Dec 2022 17:05:33 +0000 (GMT) List-Id: https://gcc.gnu.org/g:27afe64c1939ddaab90f730e67243b2495eedd7e commit r13-4849-g27afe64c1939ddaab90f730e67243b2495eedd7e Author: Andrew Carlotti Date: Fri Dec 16 15:14:35 2022 +0000 docs: Fix inconsistent example predicate name 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. gcc/ChangeLog: * doc/md.texi: Fix inconsistent example name. Diff: --- gcc/doc/md.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 78dc6d72070..cc28f868fc8 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; @{