https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113806
--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:bf883e6428a545d091319c8b71fcfb35e7dd7084 commit r14-9003-gbf883e6428a545d091319c8b71fcfb35e7dd7084 Author: Jonathan Wakely <jwak...@redhat.com> Date: Thu Feb 8 15:47:19 2024 +0000 libstdc++: Remove redundant zeroing in std::bitset::operator>>= [PR113806] The unused bits in the high word are already zero before this operation. Shifting the used bits to the right cannot affect the unused bits, so we don't need to sanitize them. libstdc++-v3/ChangeLog: PR libstdc++/113806 * include/std/bitset (bitset::operator>>=): Remove redundant call to _M_do_sanitize.