Packing booleans?

Richard Guenther richard.guenther@gmail.com
Wed May 4 12:31:00 GMT 2005


On 5/4/05, Sam Lauber <sam124@operamail.com> wrote:
> Would it be possible to have a -fpack-bools option that packs booleans into
> the smallest form possible (8 booleans -> 1 8-bit reg, etc.) into a register
> (or memory, as the case may be)?

Why don't you use bitfields then?

Richard.



More information about the Gcc mailing list