From: Jan Hubicka Date: Mon, 16 May 2016 10:01:57 +0000 (+0200) Subject: * tree-inline.c (expand_call_inline): recurse after inlining thunk. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c1d854fb24ba20ecdd1736117a5e5cd39686e479;p=gcc.git * tree-inline.c (expand_call_inline): recurse after inlining thunk. From-SVN: r236273 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 63ad08e27da..23f03a7df35 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-05-16 Jan Hubicka + + * tree-inline.c (expand_call_inline): recurse after inlining thunk. + 2016-05-16 Jan Hubicka * tree.c (free_lang_data_in_decl): Also set target/optimization flags diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index e571140d9db..85ed2c2e84e 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;