summaryrefslogtreecommitdiff
path: root/gcc/alias.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/alias.c')
-rw-r--r--gcc/alias.c2
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. */