Commit ab59db3c by Bernd Schmidt Committed by Bernd Schmidt

Not all VALUEs are identical

From-SVN: r44645
parent b05ecb16
......@@ -3,6 +3,9 @@
* doloop.c (doloop_modify_runtime): Properly compute number of
iterations if loop was unrolled.
* alias.c (rtx_equal_for_memref_p): VALUEs are only identical
if their CSELIB_VAL_PTRs are.
2001-08-04 Hans-Peter Nilsson <hp@bitrange.com>
* config/sh/sh.c (sh_asm_named_section): Fix typo in align
......
......@@ -1032,6 +1032,9 @@ rtx_equal_for_memref_p (x, y)
/* Some RTL can be compared without a recursive examination. */
switch (code)
{
case VALUE:
return CSELIB_VAL_PTR (x) == CSELIB_VAL_PTR (y);
case REG:
return REGNO (x) == REGNO (y);
......
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