This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
rtx_equal_for_memref_p
- To: gcc-bugs at gcc dot gnu dot org
- Subject: rtx_equal_for_memref_p
- From: Alan Modra <amodra at bigpond dot net dot au>
- Date: Sat, 10 Nov 2001 17:40:53 +1030
Hi,
I just ran into
Internal compiler error in rtx_equal_for_memref_p, at alias.c:1121
with 3.0.x CVS on code that had a non-volatile asm in an inline function
returning a structure pointer. After fixing the problem, noticed that
mainline already has
2001-07-25 Andrew Haley <aph@cambridge.redhat.com>
* alias.c (rtx_equal_for_memref_p): Allow strings as types in
operands.
which is:
/* This can happen for asm operands. */
case 's':
if (strcmp (XSTR (x, i), XSTR (y, i)))
return 0;
break;
Can this go over to the branch, please? I note that it's somewhat
questionable to assume anything much about what an asm returns, but
this should do the right thing for most cases.
Alan