r218417 - in /trunk/gcc: ChangeLog cgraph.h cgr...

jamborm@gcc.gnu.org jamborm@gcc.gnu.org
Fri Dec 5 11:06:00 GMT 2014


Author: jamborm
Date: Fri Dec  5 11:06:26 2014
New Revision: 218417

URL: https://gcc.gnu.org/viewcvs?rev=218417&root=gcc&view=rev
Log:
2014-12-05  Martin Jambor  <mjambor@suse.cz>

	* cgraph.h (cgraph_node): New method expand_all_artificial_thunks.
	(cgraph_edge): New method redirect_callee_duplicating_thunks.
	* cgraphclones.c (duplicate_thunk_for_node): Donot expand newly
	created thunks.
	(redirect_edge_duplicating_thunks): Turned into edge method
	redirect_callee_duplicating_thunks.
	(cgraph_node::expand_all_artificial_thunks): New method.
	(create_clone): Call expand_all_artificial_thunks.
	* ipa-cp.c (perhaps_add_new_callers): Call
	redirect_callee_duplicating_thunks instead of redirect_callee.
	Also call expand_all_artificial_thunks.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraph.h
    trunk/gcc/cgraphclones.c
    trunk/gcc/ipa-cp.c



More information about the Gcc-cvs mailing list