summaryrefslogtreecommitdiff
path: root/gcc/ipa-inline.h
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-21 05:41:46 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-21 05:41:46 +0000
commit7c5c01f175739331175300e95ba9c0e3135be01f (patch)
tree4b9f247bf7f2f748f5c2c735e1b8ccd0f27c1d99 /gcc/ipa-inline.h
parent4206bfac538b8498b0db386ea864bfa3ffc5b3c9 (diff)
downloadgcc-7c5c01f175739331175300e95ba9c0e3135be01f.tar.gz
PR bootstrap/60984
* ipa-inline-transform.c (inline_call): Use add CALLEE_REMOVED parameter. * ipa-inline.c (inline_to_all_callers): If callee was removed; return. (ipa_inline): Loop inline_to_all_callers until no more aliases are removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210674 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-inline.h')
-rw-r--r--gcc/ipa-inline.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ipa-inline.h b/gcc/ipa-inline.h
index 1e9ff4ca0a8..bddf29a2430 100644
--- a/gcc/ipa-inline.h
+++ b/gcc/ipa-inline.h
@@ -236,7 +236,8 @@ void compute_inline_parameters (struct cgraph_node *, bool);
bool speculation_useful_p (struct cgraph_edge *e, bool anticipate_inlining);
/* In ipa-inline-transform.c */
-bool inline_call (struct cgraph_edge *, bool, vec<cgraph_edge_p> *, int *, bool);
+bool inline_call (struct cgraph_edge *, bool, vec<cgraph_edge_p> *, int *, bool,
+ bool *callee_removed = NULL);
unsigned int inline_transform (struct cgraph_node *);
void clone_inlined_nodes (struct cgraph_edge *e, bool, bool, int *,
int freq_scale);