]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
AVR: Fix a typo in __builtin_avr_mask1 documentation.
authorGeorg-Johann Lay <avr@gjlay.de>
Thu, 8 Aug 2024 14:54:52 +0000 (16:54 +0200)
committerGeorg-Johann Lay <avr@gjlay.de>
Thu, 8 Aug 2024 16:39:45 +0000 (18:39 +0200)
gcc/
* doc/extend.texi (AVR Built-in Functions) <mask1>: Fix a typo.

gcc/doc/extend.texi

index 89fe5db7aed0018e57b792847d533ea1ffa92bb5..ae1ada3cdf8e6d518e45b2b5b257c28336c5e8a4 100644 (file)
@@ -17052,7 +17052,7 @@ __builtin_avr_insert_bits (0x01234567, bits, 0);
 @defbuiltin{uint8_t __builtin_avr_mask1 (uint8_t @var{mask}, uint8_t @var{offs})}
 Rotate the 8-bit constant value @var{mask} by an offset of @var{offs},
 where @var{mask} is in @{ 0x01, 0xfe, 0x7f, 0x80 @}.
-This built-in can be use as an alternative to 8-bit expressions like
+This built-in can be used as an alternative to 8-bit expressions like
 @code{1 << offs} when their computation consumes too much
 time, and @var{offs} is known to be in the range 0@dots{}7.
 @example