diff options
author | Richard Guenther <rguenther@suse.de> | 2009-03-27 22:36:33 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2009-03-27 22:36:33 +0000 |
commit | 472c7fbd0979129313e49c2fb73ff5b36d4b1d57 (patch) | |
tree | 6d9ebbc1d407783c84648954b0a8422eb2e7ad5c /gcc/fix-header.c | |
parent | d9223014f991d207719b03fca8d8433edc58f27a (diff) | |
download | gcc-472c7fbd0979129313e49c2fb73ff5b36d4b1d57.zip gcc-472c7fbd0979129313e49c2fb73ff5b36d4b1d57.tar.gz gcc-472c7fbd0979129313e49c2fb73ff5b36d4b1d57.tar.bz2 |
re PR tree-optimization/39120 (Missed escape constraints for call results)
2009-03-27 Richard Guenther <rguenther@suse.de>
PR tree-optimization/39120
* tree-ssa-structalias.c (handle_rhs_call): Fill out return
constraints.
(handle_lhs_call): Process return constraints. Add escape
constraints if necessary.
(handle_const_call): Fill out return constraints. Make nested
case more precise. Avoid consttmp if possible.
(handle_pure_call): Fill out return constraints. Avoid
callused if possible.
(find_func_aliases): Simplify call handling.
* gcc.c-torture/execute/pr39120.c: New testcase.
2009-03-27 Richard Guenther <rguenther@suse.de>
PR tree-optimization/39120
* tree-ssa-structalias.c (do_sd_constraint): Do not use CALLUSED
as a representative.
(solve_graph): Do propagate CALLUSED.
(handle_pure_call): Use a scalar constraint from CALLUSED for
the return value.
(find_what_p_points_to): CALLUSED shall not appear in poins-to
solutions.
* gcc.dg/torture/pta-callused-1.c: New testcase.
From-SVN: r145137
Diffstat (limited to 'gcc/fix-header.c')
0 files changed, 0 insertions, 0 deletions