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 | |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/alias.c | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e617ed6..e7b5c89 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-07-19 Andrew Haley <aph@cambridge.redhat.com> + + * alias.c (rtx_equal_for_memref_p): Allow strings as types in + operands. + Wed Jul 25 08:25:01 2001 Jeffrey A Law (law@cygnus.com) * ssa-ccp.c (visit_expression): Handle CALL_INSNs that can 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; |