summaryrefslogtreecommitdiff
path: root/gcc/alias.c
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@redhat.com>2001-08-05 16:26:01 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2001-08-05 16:26:01 +0000
commitab59db3c8087ec60f62315b34661dde7524e5d17 (patch)
tree790698bd96e481224ff51211096a149160017130 /gcc/alias.c
parentb05ecb168f8b5a5009b23d988fba66049f93d4b2 (diff)
downloadgcc-ab59db3c8087ec60f62315b34661dde7524e5d17.tar.gz
Not all VALUEs are identical
From-SVN: r44645
Diffstat (limited to 'gcc/alias.c')
-rw-r--r--gcc/alias.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/alias.c b/gcc/alias.c
index 1a28eb63550..e7417183c21 100644
--- a/gcc/alias.c
+++ b/gcc/alias.c
@@ -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);