ipa-cp.c (ipcp_print_all_lattices): New variable info...
authorMartin Jambor <mjambor@suse.cz>
Thu, 17 Jul 2008 13:23:32 +0000 (15:23 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Thu, 17 Jul 2008 13:23:32 +0000 (15:23 +0200)
commit0eae6babe5d9101e825cb8f32bba494642db45af
treefbd54fb05da1736f1ad2c36f9e38e2f0ad726075
parent19327a1a0b6f859225cb386717394fa18a85ee63
ipa-cp.c (ipcp_print_all_lattices): New variable info...

2008-07-17  Martin Jambor  <mjambor@suse.cz>

* ipa-cp.c (ipcp_print_all_lattices): New variable info, check
that nodes are relevant by examining the node->analyzed flag.
(ipcp_init_stage): Check which nodes are relevant, assert that the
relevant ones are also required.
(ipcp_propagate_stage): Check on the side arrays are properly
allocated.
(ipcp_print_all_jump_functions): Make sure not to touch any node
that is not analyzed or an edge that does not have a corresponding
entry in the on-the-side vectors.
(ipcp_function_scale_print): Likewise.
(ipcp_update_callgraph): Check that the node is relevant.
(ipcp_insert_stage): Check that the node is relevant.  Check there is
an info for every node and edge.
* ipa-prop.c (ipa_init_func_list): Check the nodes are relevant.
(ipa_print_all_tree_maps): Likewise and a new variable info.
(ipa_print_all_params_modified): Likewise.
* ipa-prop.h (ipa_edge_args_info_available_for_edge_p): New function.

From-SVN: r137921
gcc/ChangeLog
gcc/ipa-cp.c
gcc/ipa-prop.c
gcc/ipa-prop.h