diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2017-12-20 12:52:50 +0000 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@linaro.org> | 2017-12-20 12:52:50 +0000 |
commit | e9df23c0862ecd45626f9bac5e055bf47ac53195 (patch) | |
tree | bb7b663dcf920a1865d4d09bbed71529f3be5e80 /gcc/alias.c | |
parent | 9d0acfe9f0e2f1eb76854be1f4516275b6cda181 (diff) |
poly_int: indirect_refs_may_alias_p
This patch makes indirect_refs_may_alias_p use ranges_may_overlap_p
rather than ranges_overlap_p. Unlike the former, the latter can handle
negative offsets, so the fix for PR44852 should no longer be necessary.
It can also handle offset_int, so avoids unchecked truncations to
HOST_WIDE_INT.
2017-12-20 Richard Sandiford <richard.sandiford@linaro.org>
Alan Hayward <alan.hayward@arm.com>
David Sherwood <david.sherwood@arm.com>
gcc/
* tree-ssa-alias.c (indirect_ref_may_alias_decl_p)
(indirect_refs_may_alias_p): Use ranges_may_overlap_p
instead of ranges_overlap_p.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@255871 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/alias.c')
0 files changed, 0 insertions, 0 deletions