tree-ssa-structalias.c (find_func_aliases): In IPA mode handle calls to externally...
authorRichard Guenther <rguenther@suse.de>
Tue, 27 Oct 2009 15:52:44 +0000 (15:52 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 27 Oct 2009 15:52:44 +0000 (15:52 +0000)
commit5c245b956cc455159f9448456eb12b1b7e5b1a88
tree3729f0a69b1c096c71531c62d5e4692f6ba33de8
parent06302a02c05eeaeea9e8597dfc6ed3d0e0085357
tree-ssa-structalias.c (find_func_aliases): In IPA mode handle calls to externally visible functions like in regular mode.

2009-10-27  Richard Guenther  <rguenther@suse.de>

* tree-ssa-structalias.c (find_func_aliases): In IPA mode
handle calls to externally visible functions like in regular mode.
(create_variable_info_for): Do not create function infos here.
(have_alias_info): Remove write-only variable.
(solve_constraints): New function split out from common code
in compute_points_to_sets and ipa_pta_execute.
(compute_points_to_sets): Adjust.
(ipa_pta_execute): Likewise.  Handle clones and externally visible
functions like in non-IPA mode.

* gcc.dg/torture/ipa-pta-1.c: Adjust testcase.

From-SVN: r153600
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/ipa-pta-1.c
gcc/tree-ssa-structalias.c