diff options
Diffstat (limited to 'gcc/ipa.c')
-rw-r--r-- | gcc/ipa.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -915,7 +915,7 @@ function_and_variable_visibility (bool whole_program) struct cgraph_edge *e = node->callers; cgraph_redirect_edge_callee (e, alias); - if (!flag_wpa) + if (gimple_has_body_p (e->caller->symbol.decl)) { push_cfun (DECL_STRUCT_FUNCTION (e->caller->symbol.decl)); cgraph_redirect_edge_call_stmt_to_callee (e); |