summaryrefslogtreecommitdiff
path: root/contrib/gcc/gcse.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2000-03-27 03:00:06 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2000-03-27 03:00:06 +0000
commit3e26bdf09c5e0a4e9b015a5f02b9c948454010e1 (patch)
tree36f3f9a09138cd7071d3de64269ad734e9d9c50b /contrib/gcc/gcse.c
parent536abd52d2bd3b3830d8ac369f03865f32e4d496 (diff)
Diffstat (limited to 'contrib/gcc/gcse.c')
-rw-r--r--contrib/gcc/gcse.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/contrib/gcc/gcse.c b/contrib/gcc/gcse.c
index cddd7ac63dfaf..deebc73e0a138 100644
--- a/contrib/gcc/gcse.c
+++ b/contrib/gcc/gcse.c
@@ -1394,7 +1394,6 @@ hash_expr_1 (x, mode, do_not_record_p)
return 0;
}
hash += (unsigned) MEM;
- hash += MEM_ALIAS_SET (x);
x = XEXP (x, 0);
goto repeat;
@@ -1527,14 +1526,6 @@ expr_equiv_p (x, y)
case REG:
return REGNO (x) == REGNO (y);
- case MEM:
- /* Can't merge two expressions in different alias sets, since we can
- decide that the expression is transparent in a block when it isn't,
- due to it being set with the different alias set. */
- if (MEM_ALIAS_SET (x) != MEM_ALIAS_SET (y))
- return 0;
- break;
-
/* For commutative operations, check both orders. */
case PLUS:
case MULT: