ADA fixed for symtab_node issues.
* 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
This commit is contained in:
parent
d4cf94779f
commit
037e55737e
|
@ -1,3 +1,10 @@
|
||||||
|
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>
|
2014-07-19 David Wohlferd <dw@LimeGreenSocks.com>
|
||||||
|
|
||||||
* gnat_rm.texi: Clean up for makeinfo 5.2.
|
* gnat_rm.texi: Clean up for makeinfo 5.2.
|
||||||
|
|
|
@ -3361,7 +3361,7 @@ finalize_nrv (tree fndecl, bitmap nrv, vec<tree, va_gc> *other, Node_Id gnat_ret
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* Prune also the candidates that are referenced by nested functions. */
|
/* 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)
|
for (node = node->nested; node; node = node->next_nested)
|
||||||
walk_tree_without_duplicates (&DECL_SAVED_TREE (node->decl), prune_nrv_r,
|
walk_tree_without_duplicates (&DECL_SAVED_TREE (node->decl), prune_nrv_r,
|
||||||
&data);
|
&data);
|
||||||
|
|
|
@ -2802,7 +2802,7 @@ rest_of_subprog_body_compilation (tree subprog_decl)
|
||||||
else
|
else
|
||||||
/* Register this function with cgraph just far enough to get it
|
/* Register this function with cgraph just far enough to get it
|
||||||
added to our parent's nested function list. */
|
added to our parent's nested function list. */
|
||||||
(void) cgraph_get_create_node (subprog_decl);
|
(void) cgraph_node::get_create (subprog_decl);
|
||||||
}
|
}
|
||||||
|
|
||||||
tree
|
tree
|
||||||
|
@ -5757,7 +5757,7 @@ gnat_write_global_declarations (void)
|
||||||
void_type_node);
|
void_type_node);
|
||||||
DECL_HARD_REGISTER (dummy_global) = 1;
|
DECL_HARD_REGISTER (dummy_global) = 1;
|
||||||
TREE_STATIC (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->definition = 1;
|
||||||
node->force_output = 1;
|
node->force_output = 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue