r236274 - in /trunk/gcc: ChangeLog cgraph.c cgr...

hubicka@gcc.gnu.org hubicka@gcc.gnu.org
Mon May 16 10:10:00 GMT 2016


Author: hubicka
Date: Mon May 16 10:10:28 2016
New Revision: 236274

URL: https://gcc.gnu.org/viewcvs?rev=236274&root=gcc&view=rev
Log:

	* ipa-inline-analysis.c (compute_inline_parameters): Be more reailistic
	on estimating thunk bodies; do not set inline_failed to CIF_THUNK for
	calls from thunk.
	* ipa-inline-transform.c (inline_call): When inlining into thunk produce
	gimple body.
	(preserve_function_body_p): No need to preserve function body
	* cif-codes.def (CIF_THUNK): Remove.
	* cgraphclones.c (duplicate_thunk_for_node): Thunks calls are inlinable.

	* g++.dg/ipa/ivinline-7.C: Do not xfail.
	* g++.dg/ipa/ivinline-9.C: Do not xfail.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraph.c
    trunk/gcc/cgraphclones.c
    trunk/gcc/cif-code.def
    trunk/gcc/ipa-inline-analysis.c
    trunk/gcc/ipa-inline-transform.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/ipa/ivinline-7.C
    trunk/gcc/testsuite/g++.dg/ipa/ivinline-9.C



More information about the Gcc-cvs mailing list