2016-10-20 Richard Biener <rguenther@suse.de>
commitc3f852350fadf23ea459d4ce8df0212392af582a
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Oct 2016 14:14:47 +0000 (20 14:14 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Oct 2016 14:14:47 +0000 (20 14:14 +0000)
tree76741cf91c5b716dba2283f07c3d8dcba3801b64
parent3645e92434f113b9bc9ef66fd69ead1facac324b
2016-10-20  Richard Biener  <rguenther@suse.de>

* tree-ssa-alias.c (ptrs_compare_unequal): Remove code duplication.
Handle decls possibly not bound.
* tree-ssa-structalias.c (get_constraint_for_ssa_var): Add
nothing_id for decls that might not be bound if we are interested
for the address.
(get_constraint_for_component_ref): Deal with that.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241378 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-ssa-alias.c
gcc/tree-ssa-structalias.c