This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] split gfc_code.backend_decl into separate fields
- From: Tobias Burnus <burnus at net-b dot de>
- To: Nathan Froyd <froydnj at codesourcery dot com>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sun, 27 Jun 2010 21:41:53 +0200
- Subject: Re: [PATCH] split gfc_code.backend_decl into separate fields
- References: <20100627193443.GV22606@codesourcery.com>
Nathan Froyd wrote:
> gfc_code.backend_decl is an unusual animal: a field which is only ever
> assigned a single, un-TREE_CHAIN'd TREE_LIST. In the interest of
> getting rid of TREE_LIST uses throughout the compiler, the patch below
> splits backend_decl into the appropriate two fields.
>
> Tested on x86_64-unknown-linux-gnu. OK to commit?
>
OK. Thanks for the patch! I recently had a look at that code and found
it awkward - thus also in terms of readability I like the patch.
Tobias