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][RFC] Emit thunks from the frontends


Richard Guenther wrote:

> Bootstrapped / tested on x86_64-unknown-linux-gnu with the
> gimplification unit-at-a-time patch applied.
> 
> Comments?
> 
> Thanks,
> Richard.
> 
> 2008-12-02  Richard Guenther  <rguenther@suse.de>
> 
> 	* cgraph.c (cgraph_add_new_function): Remove gimplification.
> 	* cgraphunit.c (cgraph_finalize_function): Emit associated
> 	thunks from here.
> 	(cgraph_expand_function): Not from here.
> 	* varasm.c (finish_aliases_1): Ignore errorneous aliases used
> 	by thunks.
> 
> 	cp/
> 	* method.c (use_thunk): Use cgraph_finalize_function to hand
> 	off thunks to the cgraph.
> 	* semantics.c (emit_associated_thunks): Do not emit thunks
> 	for really extern functions.

This is OK; thanks.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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