[PATCH] [c++] Save space in cxx_binding

Andrew Pinski pinskia@physics.uc.edu
Mon Jan 5 05:00:00 GMT 2004


On Jan 4, 2004, at 20:43, Daniel Jacobowitz wrote:

> On Sun, Jan 04, 2004 at 08:35:28PM -0800, Andrew Pinski wrote:
>> In cxx_binding, there are only two bit-fields which should be using a
>> CHAR_BITFIELD instead of unsigned which saves memory space.
>>
>> Ok? Bootstrapped on powerpc-apple-darwin7.2.0.
>
> Um, how does this save anything?  They're still one-bit bitfields.
> They don't get any alignment benefit because the struct is aligned to
> void* anyway.

You are right, I was just changing it so it would be inline with my 
next patches for
saving space, there was a joke on the tree-ssa branch about saving 31 
bits so I was
just following that one here.

Andrew



More information about the Gcc-patches mailing list