diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2017-12-20 12:52:50 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2017-12-20 12:52:50 +0000 |
commit | 5ffca72c5db83f53562a968a30d3955126f044f2 (patch) | |
tree | bb7b663dcf920a1865d4d09bbed71529f3be5e80 /gcc/tree-ssa-uninit.c | |
parent | b506575ff66ca6e62494b000ae68c182c7b22573 (diff) | |
download | gcc-5ffca72c5db83f53562a968a30d3955126f044f2.zip gcc-5ffca72c5db83f53562a968a30d3955126f044f2.tar.gz gcc-5ffca72c5db83f53562a968a30d3955126f044f2.tar.bz2 |
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.
Co-Authored-By: Alan Hayward <alan.hayward@arm.com>
Co-Authored-By: David Sherwood <david.sherwood@arm.com>
From-SVN: r255871
Diffstat (limited to 'gcc/tree-ssa-uninit.c')
0 files changed, 0 insertions, 0 deletions