diff options
author | Bernd Schmidt <bernds@redhat.com> | 2001-08-05 16:26:01 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2001-08-05 16:26:01 +0000 |
commit | ab59db3c8087ec60f62315b34661dde7524e5d17 (patch) | |
tree | 790698bd96e481224ff51211096a149160017130 /gcc | |
parent | b05ecb168f8b5a5009b23d988fba66049f93d4b2 (diff) | |
download | gcc-ab59db3c8087ec60f62315b34661dde7524e5d17.zip gcc-ab59db3c8087ec60f62315b34661dde7524e5d17.tar.gz gcc-ab59db3c8087ec60f62315b34661dde7524e5d17.tar.bz2 |
Not all VALUEs are identical
From-SVN: r44645
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/alias.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 892b9a9..15b9b67 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,8 +1,11 @@ 2001-08-05 Bernd Schmidt <bernds@redhat.com> - * doloop.c (doloop_modify_runtime): Properly compute number of + * 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 diff --git a/gcc/alias.c b/gcc/alias.c index 1a28eb6..e741718 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); |