]> git.ipfire.org Git - thirdparty/gcc.git/commit
2019-06-06 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Jun 2019 07:25:19 +0000 (07:25 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Jun 2019 07:25:19 +0000 (07:25 +0000)
commit02279c01fedbebb3ede2ad27bbbc1aa6f4de5b42
treec39d72532d4b3cb1d9f09502f7a8087d40d9893a
parent56b8118af0ffe2306616b37933d92881fe68f4d1
2019-06-06  Richard Biener  <rguenther@suse.de>

* tree-ssa-structalias.c: Include tree-cfg.h.
(make_heapvar): Do not make heap vars artificial.
(find_func_aliases_for_builtin_call): Handle stack allocation
functions.
(find_func_aliases): Delay processing of simple enough returns
in non-IPA mode.
(set_uids_in_ptset): Adjust.
(find_what_var_points_to): Likewise.
(solve_constraints): Do not dump points-to sets here.
(compute_points_to_sets): Post-process return statements,
amending the escaped solution.  Dump points-to sets afterwards.
(ipa_pta_execute): Dump points-to sets.

* gcc.dg/tree-ssa/alias-37.c: New testcase.
* gcc.dg/torture/20190604-1.c: Likewise.
* gcc.dg/tree-ssa/pta-callused.c: Adjust.

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