This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] eliminate calls to build_constructor_from_list in Fortran FE


On 05/16/2010 03:42 AM, Nathan Froyd wrote:
> The patch below eliminates calls to build_constructor_from_list from the
> Fortran FE.  The benefit is less consing during compilation and one less
> obstacle to getting rid of TREE_LIST.
>
> Tested on x86_64-unknown-linux-gnu.  OK?
>   

OK.

Tobias

> 	* trans-array.c (gfc_trans_array_constructor_value): Use
> 	build_constructor instead of build_constructor_from_list.
> 	(gfc_build_constant_array_constructor): Likewise.
> 	* trans-decl.c (create_main_function): Likewise.
> 	* trans-stmt.c (gfc_trans_character_select): Likewise.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]