This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Shrink tree_block
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "Richard Guenther" <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 24 Nov 2007 10:50:34 -0800
- Subject: Re: [PATCH] Shrink tree_block
- References: <Pine.LNX.4.64.0711241951161.4148@zhemvz.fhfr.qr>
On 11/24/07, Richard Guenther <rguenther@suse.de> wrote:
> This shrinks tree_block by noting that with mapped location the
> block locus now pairs with the flags. Also blocks do not need
> a type and access to the chain member of tree_common is conveniently
> wrapped with BLOCK_CHAIN.
>
> So, bootstrapped and tested on x86_64-unknown-linux-gnu, I'll apply
> this as a memory-savings regression fix later.
This is not complete, you need to have BLOCK return true for GIMPLE_TUPLE_P.
And you should have GENERIC_NEXT for BLOCKs return BLOCK_CHAIN.
Thanks,
Andrew Pinski