This is the mail archive of the
mailing list for the GCC project.
Re: [patch] shrink some cp/parser.c structures
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Dan Nicolaescu <dann at ics dot uci dot edu>
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 23 Jun 2003 20:32:07 -0400
- Subject: Re: [patch] shrink some cp/parser.c structures
On Monday, Jun 23, 2003, at 20:17 US/Eastern, Dan Nicolaescu wrote:
Some structures in cp/parserc.c can be made smaller by using enum
Before this patch, on a 32bit machine, sizeof (struct cp_token_block)
so ggc-page.c would allocate a cp_token_block on a 1024 byte page,
resulting in a lot of overhead. This patch tries to make sure that
struct cp_token_block would fit in a 512B block. Is that OK, or is
It is almost always good to reduce the structs sizes.
Should those enum bitfields be using the marco ENUM_BITFIELD instead?