aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2012-04-20 21:20:36 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-04-20 21:20:36 +0000
commit8512b2843f4e3740f457c96b43703f91483c4422 (patch)
tree356f29d877452e5b02ee482c93e92d5c8cc426dc /gcc/go
parent4c1e23754a14f36c9311087ad28c326fd0fc6c6c (diff)
downloadgcc-8512b2843f4e3740f457c96b43703f91483c4422.zip
gcc-8512b2843f4e3740f457c96b43703f91483c4422.tar.gz
gcc-8512b2843f4e3740f457c96b43703f91483c4422.tar.bz2
compiler: Don't call cgraph_mark_needed_node.
From-SVN: r186644
Diffstat (limited to 'gcc/go')
-rw-r--r--gcc/go/gofrontend/gogo-tree.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/gogo-tree.cc b/gcc/go/gofrontend/gogo-tree.cc
index fa22932..762f9fc 100644
--- a/gcc/go/gofrontend/gogo-tree.cc
+++ b/gcc/go/gofrontend/gogo-tree.cc
@@ -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();