Some aspect of GCC memory consumption increased by recent patch

Ben Elliston bje@au1.ibm.com
Wed Sep 29 14:00:00 GMT 2004


Nathan Sidwell <nathan@codesourcery.com> writes:

> 2) The length and alloc members are 32bits, they need not be.  I
> think I should make them default to 'unsigned short', thereby
> removing 1 word from a vector.  This extra size is someting that's
> causing Geoff Keating not to want to use them for an attribute
> mechanism rewrite.  For vectors which could get really long, we'd
> have yet another definition macro (bleah!).

I've just submitted a patch which reduces the size of struct ann_bb_d
from 24 bytes down to 20 bytes.  I wonder how much effect that would
have?

Cheers, Ben



More information about the Gcc-regression mailing list