This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



On Jan 5, 2004, at 12:00 AM, Andrew Pinski wrote:



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.

Yeah, and they didn't get that one either. :P



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]