[Bug tree-optimization/60485] field-sensitive points-to confused by pointer offsetting
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 17 13:09:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60485
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Mar 17 13:08:41 2014
New Revision: 208615
URL: http://gcc.gnu.org/viewcvs?rev=208615&root=gcc&view=rev
Log:
2014-03-17 Richard Biener <rguenther@suse.de>
Backport from mainline
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.
Added:
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/pr60485-1.c
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/pr60485-2.c
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
branches/gcc-4_8-branch/gcc/tree-ssa-structalias.c
More information about the Gcc-bugs
mailing list