diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 2001-01-19 13:04:23 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2001-01-19 13:04:23 -0500 |
commit | 831ecbd460cd8f553e5938c7c4956840405020fd (patch) | |
tree | e80931f772afec5f17a75f9ec443c9bd0f3019a6 /gcc/alias.c | |
parent | fa7aa1feb6fde728a03c5275bacde8073d6e50eb (diff) | |
download | gcc-831ecbd460cd8f553e5938c7c4956840405020fd.zip gcc-831ecbd460cd8f553e5938c7c4956840405020fd.tar.gz gcc-831ecbd460cd8f553e5938c7c4956840405020fd.tar.bz2 |
alias.c (rtx_equal_for_memref_p, [...]): Don't assume args are REG.
* alias.c (rtx_equal_for_memref_p, case ADDRESSOF): Don't assume
args are REG.
* expr.c (store_constructor): Don't look at MEM_ALIAS_SET unless MEM.
* function.c (assign_parms): Use INTVAL for a CONST_INT.
From-SVN: r39139
Diffstat (limited to 'gcc/alias.c')
-rw-r--r-- | gcc/alias.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/alias.c b/gcc/alias.c index a77e7c8..6e92533 100644 --- a/gcc/alias.c +++ b/gcc/alias.c @@ -1007,8 +1007,8 @@ rtx_equal_for_memref_p (x, y) return 0; case ADDRESSOF: - return (REGNO (XEXP (x, 0)) == REGNO (XEXP (y, 0)) - && XINT (x, 1) == XINT (y, 1)); + return (XINT (x, 1) == XINT (y, 1) + && rtx_equal_for_memref_p (XEXP (x, 0), XEXP (y, 0))); default: break; |