From 83ec925c6f71fab9848dbf0529a5e3c8b06e5377 Mon Sep 17 00:00:00 2001 From: aph Date: Wed, 25 Jul 2001 14:38:29 +0000 Subject: 2001-07-19 Andrew Haley * 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 --- gcc/alias.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gcc/alias.c') 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; -- cgit v1.2.1