diff options
author | Andrew Carlotti <andrew.carlotti@arm.com> | 2022-12-16 15:14:35 +0000 |
---|---|---|
committer | Andrew Carlotti <andrew.carlotti@arm.com> | 2022-12-22 17:04:48 +0000 |
commit | 27afe64c1939ddaab90f730e67243b2495eedd7e (patch) | |
tree | f8312a34f4ed18c0c780bf7bb3ef2eefcce1be26 /gcc/doc/md.texi | |
parent | e48864e51d2506cdcf04d5ebb9a17f3a997b65bf (diff) | |
download | gcc-27afe64c1939ddaab90f730e67243b2495eedd7e.zip gcc-27afe64c1939ddaab90f730e67243b2495eedd7e.tar.gz gcc-27afe64c1939ddaab90f730e67243b2495eedd7e.tar.bz2 |
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.
Diffstat (limited to 'gcc/doc/md.texi')
-rw-r--r-- | gcc/doc/md.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 78dc6d7..cc28f86 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; @{ |