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: [tree-ssa] GGC friendly function save/restore


On Sat, Nov 29, 2003 at 12:19:44AM +0100, Jan Hubicka wrote:
> 	* function.h (struct function): Add saved_tree/saved_args.
> 	* toplev.c (rest_of_compilation): Move code to  clear cfun and
> 	DECL_SAVED_INSNS and call to ggc_collect to ...
> 	* tree-optimize.c (tree_rest_of_compilation): ... this function. Use
> 	cfun to save/restore function body.

This looks better, thanks.  Ok assuming it tests properly.


r~


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