re PR middle-end/71062 (r235622 and restrict pointers)
authorRichard Biener <rguenther@suse.de>
Thu, 12 May 2016 13:05:13 +0000 (13:05 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 12 May 2016 13:05:13 +0000 (13:05 +0000)
commit763baff6f54ec6070e0ec6497363f5116ab4c874
tree84e63fa7e081279f7a68aca414b7f88e4487c667
parentcf48d8c4dc0556d165cd369eb5fa4d77fe823e59
re PR middle-end/71062 (r235622 and restrict pointers)

2016-05-12  Richard Biener  <rguenther@suse.de>

PR tree-optimization/71062
* tree-ssa-alias.h (struct pt_solution): Add vars_contains_restrict
field.
* tree-ssa-structalias.c (set_uids_in_ptset): Set vars_contains_restrict
if the var is a restrict tag.
* tree-ssa-alias.c (ptrs_compare_unequal): If vars_contains_restrict
do not disambiguate pointers against it.
(dump_points_to_solution): Re-structure and adjust for new
vars_contains_restrict flag.
* gimple-pretty-print.c (pp_points_to_solution): Likewise.

* gcc.dg/torture/pr71062.c: New testcase.

From-SVN: r236174
gcc/ChangeLog
gcc/gimple-pretty-print.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr71062.c [new file with mode: 0644]
gcc/tree-ssa-alias.c
gcc/tree-ssa-alias.h
gcc/tree-ssa-structalias.c