http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50268
--- Comment #14 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-09-02 12:33:40 UTC --- (In reply to comment #13) > Doesn't _Base_bitset<1> also need a special case for > _Nb==_GLIBCXX_BITSET_BITS_PER_WORD ? You are right, got confused by the signedness. > I think we could express the constant as > ~static_cast<_WordT>(0)>>(_GLIBCXX_BITSET_BITS_PER_WORD-_Nb) so we don't need > a > special case (and something similar for the last word of the generic > _Base_bitset) Let's see what I can do, thanks.