Commit 58efc3ac by Jan Hubicka Committed by Jan Hubicka

* ipa-reference.c (propagate): Walk all nodes in the cleanup stage.

From-SVN: r159546
parent 0495bafc
2010-05-18 Jan Hubicka <jh@suse.cz>
* ipa-reference.c (propagate): Walk all nodes in the cleanup stage.
2010-05-18 Vladimir Makarov <vmakarov@redhat.com> 2010-05-18 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/43332 PR rtl-optimization/43332
......
...@@ -835,13 +835,15 @@ propagate (void) ...@@ -835,13 +835,15 @@ propagate (void)
} }
/* Cleanup. */ /* Cleanup. */
for (i = 0; i < order_pos; i++ ) for (node = cgraph_nodes; node; node = node->next)
{ {
ipa_reference_vars_info_t node_info; ipa_reference_vars_info_t node_info;
ipa_reference_global_vars_info_t node_g; ipa_reference_global_vars_info_t node_g;
ipa_reference_optimization_summary_t opt; ipa_reference_optimization_summary_t opt;
node = order[i]; if (!node->analyzed)
continue;
node_info = get_reference_vars_info (node); node_info = get_reference_vars_info (node);
if (cgraph_function_body_availability (node) > AVAIL_OVERWRITABLE) if (cgraph_function_body_availability (node) > AVAIL_OVERWRITABLE)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment