diff options
author | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-25 14:38:29 +0000 |
---|---|---|
committer | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-25 14:38:29 +0000 |
commit | 83ec925c6f71fab9848dbf0529a5e3c8b06e5377 (patch) | |
tree | c2520ee92dec0b050919476721653c8da15dfa0d /gcc/alias.c | |
parent | a473d6658541defa4201f722d0a0f5b102653a42 (diff) | |
download | gcc-83ec925c6f71fab9848dbf0529a5e3c8b06e5377.tar.gz |
2001-07-19 Andrew Haley <aph@cambridge.redhat.com>
* alias.c (rtx_equal_for_memref_p): Allow strings as types in
operands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44356 138bc75d-0d04-0410-961f-82ee72b054a4
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 912be4819c2..599676d4166 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; |