This patch to the Go frontend brings it up to date with Martin's change to the cgraph code. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline.
Ian
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();