Commit 8512b284 by Ian Lance Taylor

compiler: Don't call cgraph_mark_needed_node.

From-SVN: r186644
parent 4c1e2375
......@@ -495,7 +495,6 @@ Gogo::write_initialization_function(tree fndecl, tree init_stmt_list)
gimplify_function_tree(fndecl);
cgraph_add_new_function(fndecl, false);
cgraph_mark_needed_node(cgraph_get_node(fndecl));
current_function_decl = NULL_TREE;
pop_cfun();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment