cgraph.c (cgraph_local_info): Call cgraph_get_node instead of cgraph_node, handle...
authorMartin Jambor <mjambor@suse.cz>
Mon, 11 Apr 2011 15:17:44 +0000 (17:17 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Mon, 11 Apr 2011 15:17:44 +0000 (17:17 +0200)
commit9f9ebcdfc635e94463350898b625e0f3b1431ec0
tree2c3c04107c858150dae9c1fa382093e2fa6bd141
parent581985d71026fb5cf52fef156b76a619ce07e88c
cgraph.c (cgraph_local_info): Call cgraph_get_node instead of cgraph_node, handle NULL return value.

2011-04-11  Martin Jambor  <mjambor@suse.cz>

gcc/
* cgraph.c (cgraph_local_info): Call cgraph_get_node instead
of cgraph_node, handle NULL return value.
(cgraph_global_info): Likewise.
(cgraph_rtl_info): Likewise.
* tree-inline.c (estimate_num_insns): Likewise.
* gimplify.c (unshare_body): Likewise.
(unvisit_body): Likewise.
(gimplify_body): Likewise.
* predict.c (optimize_function_for_size_p): Likewise.
* tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise.
(call_may_clobber_ref_p_1): Likewise.
* varasm.c (function_section_1): Likewise.
(assemble_start_function): Likewise.

gcc/java/
* decl.c (java_mark_decl_local): Call cgraph_get_node instead of
cgraph_node and handle returned NULL.

From-SVN: r172258
gcc/ChangeLog
gcc/cgraph.c
gcc/gimplify.c
gcc/java/ChangeLog
gcc/java/decl.c
gcc/predict.c
gcc/tree-inline.c
gcc/tree-ssa-alias.c
gcc/varasm.c