From: Andrew Haley Date: Wed, 25 Jul 2001 14:38:29 +0000 (+0000) Subject: alias.c (rtx_equal_for_memref_p): Allow strings as types in operands. X-Git-Tag: prereleases/libstdc++-3.0.95~3056 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3237ac18759be515c2836996e6b376d5c457761b;p=thirdparty%2Fgcc.git alias.c (rtx_equal_for_memref_p): Allow strings as types in operands. 2001-07-19 Andrew Haley * alias.c (rtx_equal_for_memref_p): Allow strings as types in operands. From-SVN: r44356 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e617ed64faa9..e7b5c89f0dcc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-07-19 Andrew Haley + + * 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 912be4819c2b..599676d41669 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;