ipa-cp.c (ipcp_versionable_function_p): Aliases are not versionable.
authorJan Hubicka <jh@suse.cz>
Fri, 10 Jun 2011 14:57:05 +0000 (16:57 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 10 Jun 2011 14:57:05 +0000 (14:57 +0000)
commit749f25d8a774f7786bd0258d79ee10a309df8dfb
treefb7d5174686aae02adc1c28679cbb08b775dee5e
parent9c8cf7b70ca74485589349143ba966b8d5251215
ipa-cp.c (ipcp_versionable_function_p): Aliases are not versionable.

* ipa-cp.c (ipcp_versionable_function_p): Aliases are not versionable.
(ipcp_cloning_candidate_p): Aliases are not clonning candidates.
(ipcp_initialize_node_lattices): We don't propagate through an aliases.
(ipcp_propagate_stage): Skip aliases when propagating.
(ipcp_need_redirect_p): Skip aliases.
(ipcp_insert_stage): Use FOR_EACH_FUNCTION_WITH_GIMPLE_BODY and
collect_callers_of_node.
* ipa-prop.c (ipa_init_func_list): Do not analyze datastructures
for aliases.
(ipa_compute_jump_functions): Look through aliases.

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