Commit a6f7c915 by Dan Nicolaescu Committed by Richard Henderson

* alias.c (nonoverlapping_memrefs_p): Fix off by one error.

From-SVN: r54225
parent 7210c9aa
2002-06-03 Dan Nicolaescu <dann@godzilla.ics.uci.edu>
* alias.c (nonoverlapping_memrefs_p): Fix off by one error.
2002-06-03 Roger Sayle <roger@eyesopen.com>
* gcse.c (cprop_jump): Use single_set to get the pattern
......
......@@ -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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment