This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH[BIB}: Removing the arg_index field from cpp_hashnode
Per Bothner wrote:-
> >Nope, not even on 32 bit; there was nothing to save.
>
> Huh? Before cpp_hashnode was:
> sizeof(ht_identifier) + 2 + 1 + 1 + 1 + 1 + sizeof(union) + padding
> = 8 + 6 + 4 + padding = 20 bytes.
>
> After the patch (below) it cpp_hashnode is:
> sizeof(ht_identifier) + 1 + 1 + 1 + 1 + sizeof(union) + padding
> = 8 + 4 + 4 + padding = 16 bytes.
Sorry, I thought we were still talking about ht_identifier. I agree
you improved cpp_hashnode.
Neil.