diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-29 11:47:51 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-29 11:47:51 +0000 |
commit | f9e2a585dc0485623cf70e3fa7699ca011e16e5b (patch) | |
tree | ddafab6994a04bc2e943ef8246e95fcb84df38d8 /gcc/alias.c | |
parent | 91644e42afb8e91adea0825ba6934093aea4349c (diff) | |
download | gcc-f9e2a585dc0485623cf70e3fa7699ca011e16e5b.tar.gz |
Extend ltu_p fast path to all length-1 pairs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205516 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/alias.c')
-rw-r--r-- | gcc/alias.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/alias.c b/gcc/alias.c index 8a1f09bc33e..0543265d204 100644 --- a/gcc/alias.c +++ b/gcc/alias.c @@ -342,7 +342,7 @@ ao_ref_from_mem (ao_ref *ref, const_rtx mem) || (DECL_P (ref->base) && (DECL_SIZE (ref->base) == NULL_TREE || TREE_CODE (DECL_SIZE (ref->base)) != INTEGER_CST - || wi::ltu_p (DECL_SIZE (ref->base), + || wi::ltu_p (wi::to_offset (DECL_SIZE (ref->base)), ref->offset + ref->size))))) return false; |