This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] Use bit scanning and counting builtins for std::bitset
Benjamin Kosnik <bkoz@redhat.com> writes:
> >On Sun, Feb 02, 2003 at 03:34:34AM +0100, Falk Hueffner wrote:
> >> this patch utilizes gcc's builtin functions for bit counting and
> >> scanning.
>
> Formatting issues:
>
> - while ( __byte_ptr < __end_ptr )
>
> should be
> - while (__byte_ptr < __end_ptr)
Well, that's in the deleted code :) I chose not to fix formatting
anywhere to keep the patch more readable. But perhaps the whole file
should be reformatted sometime...
> Phil, you might want to try and port this back to 3.2/3.3.
The gcc builtins are only available in 3.4, I think.
--
Falk