diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-04 02:25:57 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-04 02:25:57 +0000 |
commit | 906923ba3e109ea9d630cc948f9daea389e2ac17 (patch) | |
tree | 38a0dbd512871f07f9bbc01574bf9ab7d24a6282 /gcc/alias.c | |
parent | b129fd75e69beef79876f75991503e4014aad63a (diff) | |
download | gcc-906923ba3e109ea9d630cc948f9daea389e2ac17.tar.gz |
* alias.c (nonoverlapping_memrefs_p): Fix off by one error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54225 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 60213d21511..e3dd16008cf 100644 --- a/gcc/alias.c +++ b/gcc/alias.c @@ -2022,7 +2022,7 @@ nonoverlapping_memrefs_p (x, y) /* If we don't know the size of the lower-offset value, we can't tell if they conflict. Otherwise, we do the test. */ - return sizex >= 0 && offsety > offsetx + sizex; + return sizex >= 0 && offsety >= offsetx + sizex; } /* True dependence: X is read after store in MEM takes place. */ |