From 27afe64c1939ddaab90f730e67243b2495eedd7e Mon Sep 17 00:00:00 2001 From: Andrew Carlotti Date: Fri, 16 Dec 2022 15:14:35 +0000 Subject: [PATCH] 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. --- 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; @{