diff options
Diffstat (limited to 'gcc/cgraphclones.c')
-rw-r--r-- | gcc/cgraphclones.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/cgraphclones.c b/gcc/cgraphclones.c index 2a17de5..224bb55 100644 --- a/gcc/cgraphclones.c +++ b/gcc/cgraphclones.c @@ -371,9 +371,7 @@ duplicate_thunk_for_node (cgraph_node *thunk, cgraph_node *node) CGRAPH_FREQ_BASE); e->call_stmt_cannot_inline_p = true; symtab->call_edge_duplication_hooks (thunk->callees, e); - if (!new_thunk->expand_thunk (false, false)) - new_thunk->analyzed = true; - else + if (new_thunk->expand_thunk (false, false)) { new_thunk->thunk.thunk_p = false; new_thunk->analyze (); |