aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2016-05-16 12:01:57 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2016-05-16 10:01:57 +0000
commitc1d854fb24ba20ecdd1736117a5e5cd39686e479 (patch)
treea87181b6d20edb766d8107972e0dbdc3255a4312 /gcc/tree-inline.c
parentaa53a9051ef5e079efa3c455db85c28897d12ffe (diff)
downloadgcc-c1d854fb24ba20ecdd1736117a5e5cd39686e479.zip
gcc-c1d854fb24ba20ecdd1736117a5e5cd39686e479.tar.gz
gcc-c1d854fb24ba20ecdd1736117a5e5cd39686e479.tar.bz2
* tree-inline.c (expand_call_inline): recurse after inlining thunk.
From-SVN: r236273
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index e571140..85ed2c2 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -4485,6 +4485,7 @@ expand_call_inline (basic_block bb, gimple *stmt, copy_body_data *id)
gimple_call_set_fndecl (stmt, edge->callee->decl);
update_stmt (stmt);
id->src_node->remove ();
+ expand_call_inline (bb, stmt, id);
return true;
}
fn = cg_edge->callee->decl;