From c1d854fb24ba20ecdd1736117a5e5cd39686e479 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Mon, 16 May 2016 12:01:57 +0200 Subject: [PATCH] * tree-inline.c (expand_call_inline): recurse after inlining thunk. From-SVN: r236273 --- gcc/ChangeLog | 4 ++++ gcc/tree-inline.c | 1 + 2 files changed, 5 insertions(+) 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; -- 2.30.2