AN egcs patch for linux 2.1.103?
H.J. Lu
hjl@lucon.org
Thu May 21 22:36:00 GMT 1998
This seems to work for me.
--
H.J. Lu (hjl@gnu.org)
--
Thu May 21 18:10:19 1998 H.J. Lu (hjl@gnu.org)
* alias.c (rtx_equal_for_memref_p): Return 0 if code == SCRATCH.
Index: alias.c
===================================================================
RCS file: /home/work/cvs/gnu/egcs/gcc/alias.c,v
retrieving revision 1.1.1.17
diff -u -p -r1.1.1.17 alias.c
--- alias.c 1998/05/18 13:28:17 1.1.1.17
+++ alias.c 1998/05/22 00:06:50
@@ -422,6 +423,8 @@ rtx_equal_for_memref_p (x, y)
return INTVAL (x) == INTVAL (y);
if (code == ADDRESSOF)
return REGNO (XEXP (x, 0)) == REGNO (XEXP (y, 0)) && XINT (x, 1) == XINT (y, 1);
+ if (code == SCRATCH)
+ return 0;
/* For commutative operations, the RTX match if the operand match in any
order. Also handle the simple binary and unary cases without a loop. */
More information about the Gcc-bugs
mailing list