[gcc r15-7814] __builtin_bswapXX: improve docs
Richard Sandiford
rsandifo@gcc.gnu.org
Tue Mar 4 15:29:45 GMT 2025
https://gcc.gnu.org/g:5452b50a4ef4236d7d78210a9c16331ae86e67e3
commit r15-7814-g5452b50a4ef4236d7d78210a9c16331ae86e67e3
Author: Oscar Gustafsson <oscar.gustafsson@gmail.com>
Date: Tue Mar 4 15:29:30 2025 +0000
__builtin_bswapXX: improve docs
gcc/ChangeLog:
* doc/extend.texi: Improve example for __builtin_bswap16.
Diff:
---
gcc/doc/extend.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index ec9bb59900c9..83f6e45170be 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -16338,7 +16338,7 @@ Returns the first argument raised to the power of the second. Unlike the
@defbuiltin{uint16_t __builtin_bswap16 (uint16_t @var{x})}
Returns @var{x} with the order of the bytes reversed; for example,
-@code{0xaabb} becomes @code{0xbbaa}. Byte here always means
+@code{0xabcd} becomes @code{0xcdab}. Byte here always means
exactly 8 bits.
@enddefbuiltin
More information about the Gcc-cvs
mailing list