projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c1e237
)
compiler: Don't call cgraph_mark_needed_node.
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Fri, 20 Apr 2012 21:20:36 +0000
(21:20 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Fri, 20 Apr 2012 21:20:36 +0000
(21:20 +0000)
From-SVN: r186644
gcc/go/gofrontend/gogo-tree.cc
patch
|
blob
|
history
diff --git
a/gcc/go/gofrontend/gogo-tree.cc
b/gcc/go/gofrontend/gogo-tree.cc
index fa229320c963d9616a80ffa31cb7ca4a00493e35..762f9fc9b8170ecd39e6c5cd16bbdeca16259ea6 100644
(file)
--- 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();