* gcc-interface/trans.c (finalize_nrv): Correct cgraph_node (symtab_node)
function used.
* gcc-interface/utils.c (rest_of_subprog_body_compilation): Likewise.
(gnat_write_global_declarations): Likewise.
From-SVN: r213007
+2014-07-24 Martin Liska <mliska@suse.cz>
+
+ * gcc-interface/trans.c (finalize_nrv): Correct cgraph_node (symtab_node)
+ function used.
+ * gcc-interface/utils.c (rest_of_subprog_body_compilation): Likewise.
+ (gnat_write_global_declarations): Likewise.
+
2014-07-19 David Wohlferd <dw@LimeGreenSocks.com>
* gnat_rm.texi: Clean up for makeinfo 5.2.
return;
/* Prune also the candidates that are referenced by nested functions. */
- node = cgraph_get_create_node (fndecl);
+ node = cgraph_node::get_create (fndecl);
for (node = node->nested; node; node = node->next_nested)
walk_tree_without_duplicates (&DECL_SAVED_TREE (node->decl), prune_nrv_r,
&data);
else
/* Register this function with cgraph just far enough to get it
added to our parent's nested function list. */
- (void) cgraph_get_create_node (subprog_decl);
+ (void) cgraph_node::get_create (subprog_decl);
}
tree
void_type_node);
DECL_HARD_REGISTER (dummy_global) = 1;
TREE_STATIC (dummy_global) = 1;
- node = varpool_node_for_decl (dummy_global);
+ node = varpool_node::get_create (dummy_global);
node->definition = 1;
node->force_output = 1;