[PATCH] gimplify-unit-at-a-time (final)

Eric Botcazou ebotcazou@adacore.com
Fri Jul 10 10:39:00 GMT 2009


> 	ada/
> 	* utils.c (end_subprog_body): Revert to pre-tuples state.
> 	(gnat_gimplify_function): Do not gimplify here.
> 	(gnat_write_global_declarations): Also finalize the CU.
> 	* misc.c (gnat_parse_file): Do not finalize the CU here.
> 	* trans.c (gigi): Revert to pre-tuples state.

The unused argument of end_subprog_body should be removed as well as
! 	 /*cgraph_remove_node (cgraph_node (info->elab_proc));*/
and
! 	 /* Process the function as others, but for indicating this is an
! 	 elab proc, to be discarded if empty, then propagate the status
! 	 up to the GNAT tree node. */
It looks like gnat_gimplify_function is now useless; would it possible to get 
rid of it and add
 dump_function (TDI_original, fndecl);
to end_subprog_body right after the call to gnat_genericize?
Otherwise looks OK.
-- 
Eric Botcazou


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /