]> git.ipfire.org Git - thirdparty/gcc.git/commit
2015-12-10 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Dec 2015 09:41:08 +0000 (09:41 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Dec 2015 09:41:08 +0000 (09:41 +0000)
commit7ae97ba6651703d99d9f0e20a4e48eb7743c103c
treed9310279809b94e076740c9f2881ea95cf1aea97
parent6c2acfc4892316b46df0fe4a6769fb6766ab1e0b
2015-12-10  Richard Biener  <rguenther@suse.de>

PR ipa/68331
* tree-ssa-structalias.c (set_uids_in_ptset): Add fndecl
parameter and make vars_contains_nonlocal properly have
function-scope semantics in IPA mode.
(find_what_var_points_to): Add fndecl parameter.
(find_what_p_points_to): Likewise.
(pt_solution_includes_global): Remove IPA PTA early out.
(compute_points_to_sets): Adjust.
(ipa_pta_execute): Likewise.  Clear final_solutions after
each function.

* gcc.dg/torture/ipa-pta-3.c: New testcase.
* g++.dg/ipa/ipa-pta-1.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231498 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/ipa-pta-1.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/ipa-pta-3.c [new file with mode: 0644]
gcc/tree-ssa-structalias.c