tree-ssa-alias.c (ptrs_compare_unequal): Remove code duplication.
authorRichard Biener <rguenther@suse.de>
Thu, 20 Oct 2016 14:14:47 +0000 (14:14 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 20 Oct 2016 14:14:47 +0000 (14:14 +0000)
commit40b8428e2e586d89cce4fbafb8ef333a062a53f8
tree76741cf91c5b716dba2283f07c3d8dcba3801b64
parenteff89e01b880e6f058ae136935d70c743bc852b6
tree-ssa-alias.c (ptrs_compare_unequal): Remove code duplication.

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.

From-SVN: r241378
gcc/ChangeLog
gcc/tree-ssa-alias.c
gcc/tree-ssa-structalias.c