https://gcc.gnu.org/g:4e7213aa081f1c0ca5b7e6a60d4e7ba5bcfb1f8a
commit r16-5627-g4e7213aa081f1c0ca5b7e6a60d4e7ba5bcfb1f8a Author: Tomasz KamiĆski <[email protected]> Date: Wed Nov 26 14:28:39 2025 +0100 libstdc++: Fix typo in operator used in __pack_ints [PR122864] `<=` was used instead of `<<`, this was detected by clang warning. PR libstdc++/122864 libstdc++-v3/ChangeLog: * include/std/chrono (chrono::__pack_ints): Replace `<=` with `<<`. Diff: --- libstdc++-v3/include/std/chrono | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/include/std/chrono b/libstdc++-v3/include/std/chrono index 8dd79799a962..3e0cf42e5491 100644 --- a/libstdc++-v3/include/std/chrono +++ b/libstdc++-v3/include/std/chrono @@ -3355,7 +3355,7 @@ namespace __detail }()); _ResT __res = __v1; - ((__res = (__res <= (sizeof(_Ts) * __CHAR_BIT__) | _ResT(__vs))), ...); + ((__res = (__res << (sizeof(_Ts) * __CHAR_BIT__) | _ResT(__vs))), ...); return __res; }
