diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-05-16 10:10:28 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-05-16 10:10:28 +0000 |
commit | 46729204a4bd1c5aad4856d9a4f20da54c586241 (patch) | |
tree | 2fad4cf8e62a6fa8390658fc1bb6621e961d826e /gcc/cif-code.def | |
parent | 82da2d0eca8e0001702631abf275cd9ad63f25e0 (diff) | |
download | gcc-46729204a4bd1c5aad4856d9a4f20da54c586241.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@236274 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cif-code.def')
-rw-r--r-- | gcc/cif-code.def | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/cif-code.def b/gcc/cif-code.def index f112e962aad..196151fe8d2 100644 --- a/gcc/cif-code.def +++ b/gcc/cif-code.def @@ -95,10 +95,6 @@ DEFCIFCODE(MISMATCHED_ARGUMENTS, CIF_FINAL_ERROR, DEFCIFCODE(LTO_MISMATCHED_DECLARATIONS, CIF_FINAL_ERROR, N_("mismatched declarations during linktime optimization")) -/* Caller is thunk. */ -DEFCIFCODE(THUNK, CIF_FINAL_ERROR, - N_("thunk call")) - /* Call was originally indirect. */ DEFCIFCODE(ORIGINALLY_INDIRECT_CALL, CIF_FINAL_NORMAL, N_("originally indirect function call not considered for inlining")) |