When __builtin_stdc_rotate_right is supported, glibc defines type-specific
aliases for several unsigned integer types (uc, us, ui, ul), but omits the
unsigned long long variant. This leads to an inconsistency between the
builtin-backed path and the generic fallback, where unsigned long long
is handled.
Add the missing stdc_rotate_right_ull macro mapping to
stdc_rotate_right(__x, __n) to complete the set of type-specific helpers
and ensure consistent API coverage across all supported unsigned integer
types.
No functional change for existing users; this only exposes the expected
alias for unsigned long long.
Fixes: 331c7a4cd0ee ("stdbit: Fix builtin name used in __glibc_has_builtin check for rotate_right")
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
# define stdc_rotate_right_us(__x, __n) (stdc_rotate_right (__x, __n))
# define stdc_rotate_right_ui(__x, __n) (stdc_rotate_right (__x, __n))
# define stdc_rotate_right_ul(__x, __n) (stdc_rotate_right (__x, __n))
+# define stdc_rotate_right_ull(__x, __n) (stdc_rotate_right (__x, __n))
# else
# if __WORDSIZE == 64
# define __ROR_UL_GENERIC __ror64_inline