2014-03-11 Richard Biener <rguenther@suse.de>
commite7a71ff849749f19d5b738f90a06d2f2dd78581e
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Mar 2014 12:42:18 +0000 (11 12:42 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Mar 2014 12:42:18 +0000 (11 12:42 +0000)
treeaf561b689b875e166348ce17ab0dfa579443ef87
parent9509388906fa0e972746b7321bfbc34c7d6f2032
2014-03-11  Richard Biener  <rguenther@suse.de>

PR tree-optimization/60429
PR tree-optimization/60485
* tree-ssa-structalias.c (set_union_with_increment): Properly
take into account all fields that overlap the shifted vars.
(do_sd_constraint): Likewise.
(do_ds_constraint): Likewise.
(get_constraint_for_ptr_offset): Likewise.

* gcc.dg/pr60485-1.c: New testcase.
* gcc.dg/pr60485-2.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208479 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr60485-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr60485-2.c [new file with mode: 0644]
gcc/tree-ssa-structalias.c