http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50268
--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-09-02 01:35:06 UTC --- Created attachment 25174 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25174 Updated draft This one is much better, and actually should lead to slightly better code than C++98, because we don't do anything if _Nw > 1 (the 32-bit case is also better but doesn't optimize the case _Nb % _GLIBCXX_BITSET_BITS_PER_WORD == 0 && _Nb % _GLIBCXX_BITSET_BITS_PER_ULL != 0. I don't care much these times)