diff options
Diffstat (limited to 'gcc/fortran/trans-decl.c')
-rw-r--r-- | gcc/fortran/trans-decl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/fortran/trans-decl.c b/gcc/fortran/trans-decl.c index 25ab419..3063fea 100644 --- a/gcc/fortran/trans-decl.c +++ b/gcc/fortran/trans-decl.c @@ -2565,7 +2565,7 @@ build_entry_thunks (gfc_namespace * ns, bool global) current_function_decl = NULL_TREE; - cgraph_finalize_function (thunk_fndecl, true); + cgraph_node::finalize_function (thunk_fndecl, true); /* We share the symbols in the formal argument list with other entry points and the master function. Clear them so that they are @@ -4817,7 +4817,7 @@ generate_coarray_init (gfc_namespace * ns __attribute((unused))) if (decl_function_context (fndecl)) (void) cgraph_node::create (fndecl); else - cgraph_finalize_function (fndecl, true); + cgraph_node::finalize_function (fndecl, true); pop_function_context (); current_function_decl = save_fn_decl; @@ -5529,7 +5529,7 @@ create_main_function (tree fndecl) /* Output the GENERIC tree. */ dump_function (TDI_original, ftn_main); - cgraph_finalize_function (ftn_main, true); + cgraph_node::finalize_function (ftn_main, true); if (old_context) { @@ -5911,7 +5911,7 @@ gfc_generate_function_code (gfc_namespace * ns) (void) cgraph_node::create (fndecl); } else - cgraph_finalize_function (fndecl, true); + cgraph_node::finalize_function (fndecl, true); gfc_trans_use_stmts (ns); gfc_traverse_ns (ns, gfc_emit_parameter_debug_info); |