diff options
author | Andrew Haley <aph@cambridge.redhat.com> | 2001-07-25 14:38:29 +0000 |
---|---|---|
committer | Andrew Haley <aph@gcc.gnu.org> | 2001-07-25 14:38:29 +0000 |
commit | 3237ac18759be515c2836996e6b376d5c457761b (patch) | |
tree | c2520ee92dec0b050919476721653c8da15dfa0d /gcc/alias.c | |
parent | 42f28de90bc251f93ef1bdd79deee7d9ae64931b (diff) | |
download | gcc-3237ac18759be515c2836996e6b376d5c457761b.zip gcc-3237ac18759be515c2836996e6b376d5c457761b.tar.gz gcc-3237ac18759be515c2836996e6b376d5c457761b.tar.bz2 |
alias.c (rtx_equal_for_memref_p): Allow strings as types in operands.
2001-07-19 Andrew Haley <aph@cambridge.redhat.com>
* alias.c (rtx_equal_for_memref_p): Allow strings as types in
operands.
From-SVN: r44356
Diffstat (limited to 'gcc/alias.c')
-rw-r--r-- | gcc/alias.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/alias.c b/gcc/alias.c index 912be48..599676d 100644 --- a/gcc/alias.c +++ b/gcc/alias.c @@ -1103,6 +1103,12 @@ rtx_equal_for_memref_p (x, y) return 0; break; + /* This can happen for asm operands. */ + case 's': + if (strcmp (XSTR (x, i), XSTR (y, i))) + return 0; + break; + /* This can happen for an asm which clobbers memory. */ case '0': break; |