| Submitter | Ian Taylor |
|---|---|
| Date | April 12, 2011, 6:51 p.m. |
| Message ID | <mcr39ln5mn0.fsf@google.com> |
| Download | mbox | patch |
| Permalink | /patch/90850/ |
| State | New |
| Headers | show |
Comments
Patch
diff -r cc9719612058 go/gogo-tree.cc --- a/go/gogo-tree.cc Thu Apr 07 10:07:32 2011 -0700 +++ b/go/gogo-tree.cc Tue Apr 12 11:48:59 2011 -0700 @@ -401,7 +401,7 @@ gimplify_function_tree(fndecl); cgraph_add_new_function(fndecl, false); - cgraph_mark_needed_node(cgraph_node(fndecl)); + cgraph_mark_needed_node(cgraph_get_node(fndecl)); current_function_decl = NULL_TREE; pop_cfun();